diff options
Diffstat (limited to 'src/cmd_kick.cpp')
-rw-r--r-- | src/cmd_kick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_kick.cpp b/src/cmd_kick.cpp index 9c517ee9e..6a37052db 100644 --- a/src/cmd_kick.cpp +++ b/src/cmd_kick.cpp @@ -35,7 +35,7 @@ void cmd_kick::Handle (const char** parameters, int pcnt, userrec *user) return; } - if ((IS_LOCAL(user)) && (!c->HasUser(user)) && (!is_uline(user->server))) + if ((IS_LOCAL(user)) && (!c->HasUser(user)) && (!ServerInstance->is_uline(user->server))) { user->WriteServ( "442 %s %s :You're not on that channel!", user->nick, parameters[0]); return; |