mirror of
https://github.com/anope/anope.git
synced 2026-07-08 18:23:13 +02:00
Move CheckKick event to Channel and make os_forbid use it instead of kicking users in the join event, which does bad things
This commit is contained in:
+1
-2
@@ -139,8 +139,7 @@ void Join::SJoin(MessageSource &source, const Anope::string &chan, time_t ts, co
|
||||
*/
|
||||
c->SetCorrectModes(u, true);
|
||||
|
||||
if (c->ci)
|
||||
c->ci->CheckKick(u);
|
||||
c->CheckKick(u);
|
||||
}
|
||||
|
||||
/* Channel is done syncing */
|
||||
|
||||
Reference in New Issue
Block a user