diff options
-rw-r--r-- | src/cmd_kick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_kick.cpp b/src/cmd_kick.cpp index 2cd397de6..1a3138ed7 100644 --- a/src/cmd_kick.cpp +++ b/src/cmd_kick.cpp @@ -46,7 +46,7 @@ void cmd_kick::Handle (char **parameters, int pcnt, userrec *user) if ((!u) || (!Ptr)) { - WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, parameters[0]); + WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, u ? parameters[0] : parameters[1]); return; } |