diff --git a/cs_akick_check.cpp b/cs_akick_check.cpp index e02ea38..3452ff6 100644 --- a/cs_akick_check.cpp +++ b/cs_akick_check.cpp @@ -26,7 +26,7 @@ class CSAkickCheck : public Module throw ModuleException("Requires version 2.0.x of Anope."); this->SetAuthor("genius3000"); - this->SetVersion("0.9.0"); + this->SetVersion("1.0.0"); } void OnUplinkSync(Server *) anope_override @@ -57,6 +57,15 @@ class CSAkickCheck : public Module } } + // Hacky way to catch IDENT changes. + void OnLog(Log *l) anope_override + { + if (!Me || !Me->IsSynced() || l->type != LOG_USER || l->u == NULL || l->category != "ident") + return; + + CheckAkicks(l->u); + } + void OnNickGroup(User *u, NickAlias *) anope_override { CheckAkicks(u);