diff options
| author | 2005-12-05 20:47:20 +0000 | |
|---|---|---|
| committer | 2005-12-05 20:47:20 +0000 | |
| commit | d96e43393b3472929273b378387ab43ca0ebf86a (patch) | |
| tree | befb262acf4aaf270d9839af8e8f1642c0ec4127 /src/commands.cpp | |
| parent | Added new OnKick stuff (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/commands.cpp')
| -rw-r--r-- | src/commands.cpp | 2 |
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; |
