summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 20:47:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 20:47:20 +0000
commitd96e43393b3472929273b378387ab43ca0ebf86a (patch)
treebefb262acf4aaf270d9839af8e8f1642c0ec4127 /src
parent6deedb5c08c6a7bcecd227cb12982ddbeb6d354b (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
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;