1
0
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:
Adam
2013-06-01 14:55:45 -04:00
parent 6f45d72497
commit b56e71ab14
11 changed files with 70 additions and 72 deletions
+1 -2
View File
@@ -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 */