aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands/cmd_kill.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-06-12 20:32:10 +0200
committerGravatar attilamolnar2013-06-12 20:32:10 +0200
commitcfa32a6561e0152ebbd7135eaec9f7c794c170b1 (patch)
tree4c2d00aeee9de1014a336494b1e4ac3935f5b51b /src/commands/cmd_kill.cpp
parentChange command name parameter of OnPostCommand to be a Command* (diff)
downloadinspircd++-cfa32a6561e0152ebbd7135eaec9f7c794c170b1.tar.gz
inspircd++-cfa32a6561e0152ebbd7135eaec9f7c794c170b1.tar.bz2
inspircd++-cfa32a6561e0152ebbd7135eaec9f7c794c170b1.zip
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
Diffstat (limited to 'src/commands/cmd_kill.cpp')
-rw-r--r--src/commands/cmd_kill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp
index 6bf657115..04a59f60a 100644
--- a/src/commands/cmd_kill.cpp
+++ b/src/commands/cmd_kill.cpp
@@ -57,7 +57,7 @@ class CommandKill : public Command
CmdResult CommandKill::Handle (const std::vector<std::string>& parameters, User *user)
{
/* Allow comma seperated lists of users for /KILL (thanks w00t) */
- if (ServerInstance->Parser->LoopCall(user, this, parameters, 0))
+ if (CommandParser::LoopCall(user, this, parameters, 0))
return CMD_SUCCESS;
User *u = ServerInstance->FindNick(parameters[0]);