summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-27 00:55:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-27 00:55:57 +0000
commitb1502bf73c42297c864cce98becc934f469ac80d (patch)
tree01539fd5099fe441d64eaa4d8ec74131d41351f1 /src/commands.cpp
parent496ef08226f93d877d90e56076704795fa349a4b (diff)
Fix to bug number 21
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@830 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 5144d7ae5..ff9a5e41c 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -228,12 +228,12 @@ void handle_kick(char **parameters, int pcnt, userrec *user)
return;
}
- if (!has_channel(u,Ptr))
+ if (!has_channel(user,Ptr))
{
WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, parameters[0]);
return;
}
-
+
char reason[MAXBUF];
if (pcnt > 2)