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_whois.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_whois.cpp') diff --git a/src/commands/cmd_whois.cpp b/src/commands/cmd_whois.cpp index 263377b8f..d78144348 100644 --- a/src/commands/cmd_whois.cpp +++ b/src/commands/cmd_whois.cpp @@ -109,7 +109,7 @@ CmdResult CommandWhois::Handle (const std::vector& parameters, User int userindex = 0; unsigned long idle = 0, signon = 0; - if (ServerInstance->Parser->LoopCall(user, this, parameters, parameters.size(), 0)) + if (ServerInstance->Parser->LoopCall(user, this, parameters, 0)) return CMD_SUCCESS; -- cgit v1.2.3