diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-09 21:51:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-09 21:51:48 +0000 |
commit | b94c45340e153254f9dd06ecc3445222f31d0220 (patch) | |
tree | 3f0dda82973d84bbbcf08c0e8e1115f89afc3be6 /src/commands | |
parent | c708d7a3c0defba07171a70c68636d0b14abf590 (diff) |
Roadmap item "Fix jointhrottle to not try 'throttle' clients during a netmerge (requires changing join event to be aware of netmerge?)" -- 1.2 only
requires an extra parameter to OnUserJoin, bool sync. usually false, but FJOIN code during burst sets it to true.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8552 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-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 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; } } |