[IRCServices] Little remote WHOIS formal bug

Andrew Kempe andrewk at isdial.net
Mon Nov 19 08:26:00 PST 2001


Out of interest, what ircd were you using to test this?

Andrew

----- Original Message -----
From: "John Binder" <jbinder at kgazd.bme.hu>
To: <ircservices at ircservices.za.net>
Sent: Saturday, November 17, 2001 12:02 AM
Subject: [IRCServices] Little remote WHOIS formal bug


> Hi,
>
> I've just found this reply via whois from services:
> :services.abc.xyz 311 janos operserv services services.abc.xyz :Operator
> Server
> From server:
> :irc.abc.xyz 311 janos OperServ services services.abc.xyz * :Operator
Server
> So the * is missing from the source.
> And the last line is also buggy in void m_whois, it should be:
>         'send_cmd(ServerName, "318 %s %s End of /WHOIS response.", source,
> av[0])'
>
> For extra another line should be added (oper numeric) and it should be:
>         'send_cmd(ServerName, "313 %s %s :is a Network Service", source,
> av[0])' (or "an IRC Operator")  - but this is only optional , and it
should
> be for clients/scripts to detect services as a "super-user". (Scripts and
> clients only watch the numeric in the most cases)
>
> Effect: breaking some client (I tried mirc and xchat)
>
> "/whois services.abc.xyz notexistantuser" is also affected:
>     'send_cmd(ServerName, "401 %s %s :No such service.", source, av[0]);'
> Sometimes it breaks some client, it should be two lines:
>     'send_cmd(ServerName, "401 %s %s :No such nick/channel.", source,
> av[0]);'
>     'send_cmd(ServerName, "318 End of /WHOIS response.");'
> But the last bug can be found rarely.
>
> John Binder (Janos on IRC)
>
> P.S.: I hope I didn't write my bug report to the wrong place.
>
> -----------------------------------------------------------
> To unsubscribe, mail ircservices-request at ircservices.za.net
> with the word UNSUBSCRIBE in the subject of the mail.
> http://www.ircservices.za.net/mailman/listinfo/ircservices
>