From: brain Date: Fri, 6 May 2005 05:03:15 +0000 (+0000) Subject: Added numeric 318 to /WHOIS when nick is not found (end of whois should still be... X-Git-Tag: v2.0.23~10365 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=26f921158887854c28a9172ff470bf0b6dfee55a;p=user%2Fhenk%2Fcode%2Finspircd.git Added numeric 318 to /WHOIS when nick is not found (end of whois should still be there as its a list response) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1317 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/commands.cpp b/src/commands.cpp index e9ba484c5..02af034fb 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -901,12 +901,14 @@ void handle_whois(char **parameters, int pcnt, userrec *user) else { WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, parameters[0]); + WriteServ(user->fd,"318 %s %s :End of /WHOIS list.",user->nick, parameters[0]); } } else { /* no such nick/channel */ WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, parameters[0]); + WriteServ(user->fd,"318 %s %s :End of /WHOIS list.",user->nick, parameters[0]); } }