From b1502bf73c42297c864cce98becc934f469ac80d Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 27 May 2004 00:55:57 +0000 Subject: Fix to bug number 21 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@830 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands.cpp') 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) -- cgit v1.3.1-10-gc9f91