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_kick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_kick.cpp') diff --git a/src/commands/cmd_kick.cpp b/src/commands/cmd_kick.cpp index e4acbbbf1..99859b413 100644 --- a/src/commands/cmd_kick.cpp +++ b/src/commands/cmd_kick.cpp @@ -27,7 +27,7 @@ CmdResult CommandKick::Handle (const std::vector& parameters, User Channel* c = ServerInstance->FindChan(parameters[0]); User* u = ServerInstance->FindNick(parameters[1]); - if (ServerInstance->Parser->LoopCall(user, this, parameters, parameters.size(), 1)) + if (ServerInstance->Parser->LoopCall(user, this, parameters, 1)) return CMD_SUCCESS; if (!u || !c) -- cgit v1.2.3