From cfa32a6561e0152ebbd7135eaec9f7c794c170b1 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 12 Jun 2013 20:32:10 +0200 Subject: CommandParser::LoopCall() changes - Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1 --- src/commands/cmd_privmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_privmsg.cpp') diff --git a/src/commands/cmd_privmsg.cpp b/src/commands/cmd_privmsg.cpp index eb9468bb9..7de3bf924 100644 --- a/src/commands/cmd_privmsg.cpp +++ b/src/commands/cmd_privmsg.cpp @@ -62,7 +62,7 @@ CmdResult MessageCommandBase::HandleMessage(const std::vector& para if (localuser) localuser->idle_lastmsg = ServerInstance->Time(); - if (ServerInstance->Parser->LoopCall(user, this, parameters, 0)) + if (CommandParser::LoopCall(user, this, parameters, 0)) return CMD_SUCCESS; if (parameters[0][0] == '$') -- cgit v1.3.1-10-gc9f91