+ if (!ServerInstance->Modes->AddMode(&ie))
+ throw ModuleException("Could not add new modes!");
+ ServerInstance->Modules->PublishInterface("ChannelBanList", this);
+
+ ie.DoImplements(this);
+ Implementation eventlist[] = { I_OnRequest, I_On005Numeric, I_OnCheckInvite };
+ ServerInstance->Modules->Attach(eventlist, this, 3);