summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-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 b5359397d..be9b963a6 100644
--- a/src/commands/cmd_join.cpp
+++ b/src/commands/cmd_join.cpp
@@ -30,7 +30,7 @@ CmdResult CommandJoin::Handle (const char** parameters, int pcnt, User *user)
if (ServerInstance->IsChannel(parameters[0]))
{
- Channel::JoinUser(ServerInstance, user, parameters[0], false, parameters[1]);
+ Channel::JoinUser(ServerInstance, user, parameters[0], false, parameters[1], false);
return CMD_SUCCESS;
}
}
@@ -41,7 +41,7 @@ CmdResult CommandJoin::Handle (const char** parameters, int pcnt, User *user)
if (ServerInstance->IsChannel(parameters[0]))
{
- Channel::JoinUser(ServerInstance, user, parameters[0], false, "");
+ Channel::JoinUser(ServerInstance, user, parameters[0], false, "", false);
return CMD_SUCCESS;
}
}