From 86dd9fa5ea02644096f3529a6cbf3a55b5bb1d60 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sat, 3 May 2008 21:30:15 +0000 Subject: Allow KICKing multiple nicks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9604 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_kick.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/cmd_kick.cpp b/src/commands/cmd_kick.cpp index 329a37bcf..9cf4f8b5c 100644 --- a/src/commands/cmd_kick.cpp +++ b/src/commands/cmd_kick.cpp @@ -27,6 +27,9 @@ CmdResult CommandKick::Handle (const char* const* parameters, int pcnt, User *us Channel* c = ServerInstance->FindChan(parameters[0]); User* u = ServerInstance->FindNick(parameters[1]); + if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 1)) + return CMD_SUCCESS; + if (!u || !c) { user->WriteServ( "401 %s %s :No such nick/channel", user->nick, u ? parameters[0] : parameters[1]); -- cgit v1.2.3