- be = new BanException(ServerInstance);
- if (!ServerInstance->AddMode(be))
- throw ModuleException("Could not add new modes!");
- ServerInstance->Modules->PublishInterface("ChannelBanList", this);
-
- //be->DoImplements(List);
- Implementation list[] = { I_OnRehash, I_OnRequest, I_On005Numeric, I_OnCheckBan };
- Me->Modules->Attach(this, list, sizeof(list));