summaryrefslogtreecommitdiff
path: root/src/commands/cmd_join.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_join.cpp')
-rw-r--r--src/commands/cmd_join.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_join.cpp b/src/commands/cmd_join.cpp
index f3a97d31a..17a71688a 100644
--- a/src/commands/cmd_join.cpp
+++ b/src/commands/cmd_join.cpp
@@ -50,7 +50,7 @@ CmdResult CommandJoin::Handle (const std::vector<std::string>& parameters, User
{
if (parameters.size() > 1)
{
- if (ServerInstance->Parser->LoopCall(user, this, parameters, 0, 1))
+ if (ServerInstance->Parser->LoopCall(user, this, parameters, 0, 1, false))
return CMD_SUCCESS;
if (ServerInstance->IsChannel(parameters[0].c_str(), ServerInstance->Config->Limits.ChanMax))
@@ -61,7 +61,7 @@ CmdResult CommandJoin::Handle (const std::vector<std::string>& parameters, User
}
else
{
- if (ServerInstance->Parser->LoopCall(user, this, parameters, 0))
+ if (ServerInstance->Parser->LoopCall(user, this, parameters, 0, -1, false))
return CMD_SUCCESS;
if (ServerInstance->IsChannel(parameters[0].c_str(), ServerInstance->Config->Limits.ChanMax))