diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 10:07:55 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 10:07:55 +0000 |
commit | bc4828bbbde8a596b80b8f1d2c7349551f0f43b8 (patch) | |
tree | 6a7a618242e597169fd4aebb0d7debeb4b4a4254 /src/commands/cmd_whois.cpp | |
parent | 287e4973e009755c771add3e3995392b1612c425 (diff) |
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
Diffstat (limited to 'src/commands/cmd_whois.cpp')
-rw-r--r-- | src/commands/cmd_whois.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>& 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; |