From d96e43393b3472929273b378387ab43ca0ebf86a Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Dec 2005 20:47:20 +0000 Subject: Fixed channel kicks from outside channel on ulines (they work now!) :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2202 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/commands.cpp b/src/commands.cpp index 81ff9cf00..dee16b245 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -206,7 +206,7 @@ void handle_kick(char **parameters, int pcnt, userrec *user) return; } - if (!has_channel(user,Ptr)) + if ((!has_channel(user,Ptr)) && (!is_uline(user->server))) { WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, parameters[0]); return; -- cgit v1.2.3