+ ModuleNoKicks(InspIRCd* Me)
+ : Module(Me)
+ {
+ nk = new NoKicks(ServerInstance);
+ if (!ServerInstance->Modes->AddMode(nk))
+ throw ModuleException("Could not add new modes!");
+ Implementation eventlist[] = { I_OnAccessCheck, I_On005Numeric };
+ ServerInstance->Modules->Attach(eventlist, this, 2);
+ }
+
+ virtual void On005Numeric(std::string &output)