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 a88509bc2..9e2678b5d 100644
--- a/src/commands/cmd_join.cpp
+++ b/src/commands/cmd_join.cpp
@@ -52,7 +52,7 @@ CmdResult CommandJoin::HandleLocal(const std::vector<std::string>& parameters, L
{
if (parameters.size() > 1)
{
- if (ServerInstance->Parser->LoopCall(user, this, parameters, 0, 1, false))
+ if (CommandParser::LoopCall(user, this, parameters, 0, 1, false))
return CMD_SUCCESS;
if (ServerInstance->IsChannel(parameters[0]))
@@ -63,7 +63,7 @@ CmdResult CommandJoin::HandleLocal(const std::vector<std::string>& parameters, L
}
else
{
- if (ServerInstance->Parser->LoopCall(user, this, parameters, 0, -1, false))
+ if (CommandParser::LoopCall(user, this, parameters, 0, -1, false))
return CMD_SUCCESS;
if (ServerInstance->IsChannel(parameters[0]))