From bc4828bbbde8a596b80b8f1d2c7349551f0f43b8 Mon Sep 17 00:00:00 2001 From: peavey Date: Mon, 5 May 2008 10:07:55 +0000 Subject: fix LoopCalls to not send param count thus avoiding a crash in command parser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9642 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_kill.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_kill.cpp') diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp index 0d95b1cf0..7e77aa5a1 100644 --- a/src/commands/cmd_kill.cpp +++ b/src/commands/cmd_kill.cpp @@ -24,7 +24,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance) CmdResult CommandKill::Handle (const std::vector& parameters, User *user) { /* Allow comma seperated lists of users for /KILL (thanks w00t) */ - if (ServerInstance->Parser->LoopCall(user, this, parameters, parameters.size(), 0)) + if (ServerInstance->Parser->LoopCall(user, this, parameters, 0)) return CMD_SUCCESS; User *u = ServerInstance->FindNick(parameters[0]); -- cgit v1.3.1-10-gc9f91