summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;