From b56e71ab14b020a3a01f1fbd183382083156aaf4 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 1 Jun 2013 14:55:45 -0400 Subject: Move CheckKick event to Channel and make os_forbid use it instead of kicking users in the join event, which does bad things --- src/messages.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/messages.cpp') diff --git a/src/messages.cpp b/src/messages.cpp index f651b7352..ce92841e6 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -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 */ -- cgit