[IRCServices] Little remote WHOIS formal bug

John Binder jbinder at kgazd.bme.hu
Sat Nov 17 00:04:01 PST 2001


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.