1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Little remote WHOIS formal bug
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=
"002549.html">
11 <LINK REL=
"Next" HREF=
"002551.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Little remote WHOIS formal bug
</H1>
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">jbinder at kgazd.bme.hu
19 <I>Mon Nov
19 23:
13:
00 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"002549.html">[IRCServices] Little remote WHOIS formal bug
23 <LI>Next message:
<A HREF=
"002551.html">[IRCServices] Services
4.5.33 released
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#2550">[ date ]
</a>
27 <a href=
"thread.html#2550">[ thread ]
</a>
28 <a href=
"subject.html#2550">[ subject ]
</a>
29 <a href=
"author.html#2550">[ author ]
</a>
34 <PRE>OK, where can I send the .diff if I will fix it?
39 ----- Original Message -----
40 From:
"Andrew Church
" <<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>>
41 To:
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net
</A>>
42 Sent: Monday, November
19,
2001 9:
20 PM
43 Subject: Re: [IRCServices] Little remote WHOIS formal bug
46 ><i> >I've just found this reply via whois from services:
47 </I>><i> >:services.abc.xyz
311 janos operserv services services.abc.xyz :Operator
48 </I>><i> >Server
49 </I>><i> >>From server:
50 </I>><i> >:irc.abc.xyz
311 janos OperServ services services.abc.xyz * :Operator
52 ><i> >So the * is missing from the source.
54 </I>><i> This is already fixed for version
5.0.
56 </I>><i> >And the last line is also buggy in void m_whois, it should be:
57 </I>><i> > 'send_cmd(ServerName,
"318 %s %s End of /WHOIS response.
",
61 </I>><i> >For extra another line should be added (oper numeric) and it should be:
62 </I>><i> > 'send_cmd(ServerName,
"313 %s %s :is a Network Service
", source,
63 </I>><i> >av[
0])' (or
"an IRC Operator
") - but this is only optional , and it
65 ><i> >be for clients/scripts to detect services as a
"super-user
". (Scripts and
66 </I>><i> >clients only watch the numeric in the most cases)
68 </I>><i> These will be added for version
5.0. I may backport the fix to
4.5
69 </I>><i> once
5.0 has been finished.
71 </I>><i> >"/whois services.abc.xyz notexistantuser
" is also affected:
72 </I>><i> > 'send_cmd(ServerName,
"401 %s %s :No such service.
", source, av[
0]);'
73 </I>><i> >Sometimes it breaks some client, it should be two lines:
74 </I>><i> > 'send_cmd(ServerName,
"401 %s %s :No such nick/channel.
", source,
75 </I>><i> >av[
0]);'
76 </I>><i> > 'send_cmd(ServerName,
"318 End of /WHOIS response.
");'
77 </I>><i> >But the last bug can be found rarely.
79 </I>><i> I'd consider this a client bug.
81 </I>><i> --Andrew Church
82 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
83 </I>><i> <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
84 </I>><i> -----------------------------------------------------------
85 </I>><i> To unsubscribe, mail
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net
</A>
86 </I>><i> with the word UNSUBSCRIBE in the subject of the mail.
87 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices
</A>
98 <LI>Previous message:
<A HREF=
"002549.html">[IRCServices] Little remote WHOIS formal bug
100 <LI>Next message:
<A HREF=
"002551.html">[IRCServices] Services
4.5.33 released
102 <LI> <B>Messages sorted by:
</B>
103 <a href=
"date.html#2550">[ date ]
</a>
104 <a href=
"thread.html#2550">[ thread ]
</a>
105 <a href=
"subject.html#2550">[ subject ]
</a>
106 <a href=
"author.html#2550">[ author ]
</a>