diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-14 15:23:24 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-14 15:23:24 +0000 |
commit | 7866c42d8f80723d07cf38ed9413857164b55e00 (patch) | |
tree | 5724e915d38363a8d45f9346daa89a725ce766fc /src/commands/cmd_join.cpp | |
parent | e2b57026ef100c2a6a7a1cb49e8c08f9065f24cd (diff) |
Allow maxtargets to be bypassed in LoopCall for JOIN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12255 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_join.cpp')
-rw-r--r-- | src/commands/cmd_join.cpp | 4 |
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)) |