From f1a204630332bbfc4a90c6c17998133d00932d01 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 1 Mar 2006 15:40:13 +0000 Subject: Clarify an error message on KICK git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3398 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_kick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3