]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/002549.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 002549.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Little remote WHOIS formal bug
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Little%20remote%20WHOIS%20formal%20bug&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="002548.html">
11 <LINK REL="Next" HREF="002550.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Little remote WHOIS formal bug</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Little%20remote%20WHOIS%20formal%20bug&In-Reply-To="
17 TITLE="[IRCServices] Little remote WHOIS formal bug">achurch at achurch.org
18 </A><BR>
19 <I>Mon Nov 19 22:28:00 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="002548.html">[IRCServices] Little remote WHOIS formal bug
22 </A></li>
23 <LI>Next message: <A HREF="002550.html">[IRCServices] Little remote WHOIS formal bug
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#2549">[ date ]</a>
27 <a href="thread.html#2549">[ thread ]</a>
28 <a href="subject.html#2549">[ subject ]</a>
29 <a href="author.html#2549">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i>I've just found this reply via whois from services:
35 </I>&gt;:<i>services.abc.xyz 311 janos operserv services services.abc.xyz :Operator
36 </I>&gt;<i>Server
37 </I>&gt;&gt;<i>From server:
38 </I>&gt;:<i>irc.abc.xyz 311 janos OperServ services services.abc.xyz * :Operator Server
39 </I>&gt;<i>So the * is missing from the source.
40 </I>
41 This is already fixed for version 5.0.
42
43 &gt;<i>And the last line is also buggy in void m_whois, it should be:
44 </I>&gt;<i> 'send_cmd(ServerName, &quot;318 %s %s End of /WHOIS response.&quot;, source,
45 </I>&gt;<i>av[0])'
46 </I>&gt;<i>
47 </I>&gt;<i>For extra another line should be added (oper numeric) and it should be:
48 </I>&gt;<i> 'send_cmd(ServerName, &quot;313 %s %s :is a Network Service&quot;, source,
49 </I>&gt;<i>av[0])' (or &quot;an IRC Operator&quot;) - but this is only optional , and it should
50 </I>&gt;<i>be for clients/scripts to detect services as a &quot;super-user&quot;. (Scripts and
51 </I>&gt;<i>clients only watch the numeric in the most cases)
52 </I>
53 These will be added for version 5.0. I may backport the fix to 4.5
54 once 5.0 has been finished.
55
56 &gt;<i>&quot;/whois services.abc.xyz notexistantuser&quot; is also affected:
57 </I>&gt;<i> 'send_cmd(ServerName, &quot;401 %s %s :No such service.&quot;, source, av[0]);'
58 </I>&gt;<i>Sometimes it breaks some client, it should be two lines:
59 </I>&gt;<i> 'send_cmd(ServerName, &quot;401 %s %s :No such nick/channel.&quot;, source,
60 </I>&gt;<i>av[0]);'
61 </I>&gt;<i> 'send_cmd(ServerName, &quot;318 End of /WHOIS response.&quot;);'
62 </I>&gt;<i>But the last bug can be found rarely.
63 </I>
64 I'd consider this a client bug.
65
66 --Andrew Church
67 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
68 <A HREF="http://achurch.org/">http://achurch.org/</A>
69
70 </PRE>
71
72 <!--endarticle-->
73 <HR>
74 <P><UL>
75 <!--threads-->
76 <LI>Previous message: <A HREF="002548.html">[IRCServices] Little remote WHOIS formal bug
77 </A></li>
78 <LI>Next message: <A HREF="002550.html">[IRCServices] Little remote WHOIS formal bug
79 </A></li>
80 <LI> <B>Messages sorted by:</B>
81 <a href="date.html#2549">[ date ]</a>
82 <a href="thread.html#2549">[ thread ]</a>
83 <a href="subject.html#2549">[ subject ]</a>
84 <a href="author.html#2549">[ author ]</a>
85 </LI>
86 </UL>
87
88 </body></html>