From b94c45340e153254f9dd06ecc3445222f31d0220 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Nov 2007 21:51:48 +0000 Subject: 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 --- src/commands/cmd_join.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/cmd_join.cpp') 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; } } -- cgit v1.2.3