diff options
| author | 2004-05-27 00:55:57 +0000 | |
|---|---|---|
| committer | 2004-05-27 00:55:57 +0000 | |
| commit | b1502bf73c42297c864cce98becc934f469ac80d (patch) | |
| tree | 01539fd5099fe441d64eaa4d8ec74131d41351f1 /src/commands.cpp | |
| parent | Fixed perplexing bug in custom mode removal (apparent with +C and +c) (diff) | |
Fix to bug number 21
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@830 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
| -rw-r--r-- | src/commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 5144d7ae5..ff9a5e41c 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -228,12 +228,12 @@ void handle_kick(char **parameters, int pcnt, userrec *user) return; } - if (!has_channel(u,Ptr)) + if (!has_channel(user,Ptr)) { WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, parameters[0]); return; } - + char reason[MAXBUF]; if (pcnt > 2) |
