From 26f921158887854c28a9172ff470bf0b6dfee55a Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 6 May 2005 05:03:15 +0000 Subject: 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 --- src/commands.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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]); } } -- cgit v1.2.3