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=
"002548.html">
11 <LINK REL=
"Next" HREF=
"002550.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">achurch at achurch.org
19 <I>Mon Nov
19 22:
28:
00 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"002548.html">[IRCServices] Little remote WHOIS formal bug
23 <LI>Next message:
<A HREF=
"002550.html">[IRCServices] Little remote WHOIS formal bug
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>
34 <PRE>><i>I've just found this reply via whois from services:
35 </I>>:
<i>services.abc.xyz
311 janos operserv services services.abc.xyz :Operator
37 </I>>><i>From server:
38 </I>>:
<i>irc.abc.xyz
311 janos OperServ services services.abc.xyz * :Operator Server
39 </I>><i>So the * is missing from the source.
41 This is already fixed for version
5.0.
43 ><i>And the last line is also buggy in void m_whois, it should be:
44 </I>><i> 'send_cmd(ServerName,
"318 %s %s End of /WHOIS response.
", source,
47 </I>><i>For extra another line should be added (oper numeric) and it should be:
48 </I>><i> 'send_cmd(ServerName,
"313 %s %s :is a Network Service
", source,
49 </I>><i>av[
0])' (or
"an IRC Operator
") - but this is only optional , and it should
50 </I>><i>be for clients/scripts to detect services as a
"super-user
". (Scripts and
51 </I>><i>clients only watch the numeric in the most cases)
53 These will be added for version
5.0. I may backport the fix to
4.5
54 once
5.0 has been finished.
56 ><i>"/whois services.abc.xyz notexistantuser
" is also affected:
57 </I>><i> 'send_cmd(ServerName,
"401 %s %s :No such service.
", source, av[
0]);'
58 </I>><i>Sometimes it breaks some client, it should be two lines:
59 </I>><i> 'send_cmd(ServerName,
"401 %s %s :No such nick/channel.
", source,
61 </I>><i> 'send_cmd(ServerName,
"318 End of /WHOIS response.
");'
62 </I>><i>But the last bug can be found rarely.
64 I'd consider this a client bug.
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>
76 <LI>Previous message:
<A HREF=
"002548.html">[IRCServices] Little remote WHOIS formal bug
78 <LI>Next message:
<A HREF=
"002550.html">[IRCServices] Little remote WHOIS formal bug
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>