summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 15:40:13 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 15:40:13 +0000
commitf1a204630332bbfc4a90c6c17998133d00932d01 (patch)
treee0acf8e0e679c7e757001cf29dcec035798cfd3d /src
parent64b3ed7211734e17c75f999e63fea739a99268da (diff)
Clarify an error message on KICK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3398 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/cmd_kick.cpp2
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;
}