diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-06 05:03:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-06 05:03:15 +0000 |
commit | 26f921158887854c28a9172ff470bf0b6dfee55a (patch) | |
tree | 93386ca0d3fb2b527c90689c808022da1485b4ec /src | |
parent | e7c00d97aaab7c3e9b140207004a25e63b71bdbe (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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]); } } |