summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
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)