summaryrefslogtreecommitdiff
path: root/src/cmd_kick.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-05 00:19:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-05 00:19:25 +0000
commitdfa6568af2bceb842d6f9ba73ee6a6679e2c5d0c (patch)
treebb95d8125892b45acddfed0153a227fcc2b5555e /src/cmd_kick.cpp
parent15604f51eac55fb6cd22f66f3e265bbea0ae74cf (diff)
Re-organized order of cmd_kick stuff (OnUserPreKick) to make override kicks work nicer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3085 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_kick.cpp')
-rw-r--r--src/cmd_kick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_kick.cpp b/src/cmd_kick.cpp
index 541fd34d7..2cd397de6 100644
--- a/src/cmd_kick.cpp
+++ b/src/cmd_kick.cpp
@@ -50,7 +50,7 @@ void cmd_kick::Handle (char **parameters, int pcnt, userrec *user)
return;
}
- if ((!has_channel(user,Ptr)) && (!is_uline(user->server)))
+ if ((IS_LOCAL(user)) && (!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;