X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_banexception.cpp;h=b10ed36042b62d50fb4503de031623d05e6eb2e4;hb=357d190074ee58809b31ea0c08543566168bddf6;hp=2eb5083f9493a9958e65a2ef6fb29c7a847a8618;hpb=54d10d53c730ab81ca6464fe2f0e0ecbcd435672;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index 2eb5083f9..b10ed3604 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -51,15 +51,6 @@ class ModuleBanException : public Module { } - void init() CXX11_OVERRIDE - { - ServerInstance->Modules->AddService(be); - - be.DoImplements(this); - Implementation list[] = { I_OnRehash, I_On005Numeric, I_OnExtBanCheck, I_OnCheckChannelBan }; - ServerInstance->Modules->Attach(list, this, sizeof(list)/sizeof(Implementation)); - } - void On005Numeric(std::map& tokens) CXX11_OVERRIDE { tokens["EXCEPTS"] = "e"; @@ -114,12 +105,7 @@ class ModuleBanException : public Module return MOD_RES_PASSTHRU; } - void OnSyncChannel(Channel* chan, Module* proto, void* opaque) CXX11_OVERRIDE - { - be.DoSyncChannel(chan, proto, opaque); - } - - void OnRehash(User* user) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { be.DoRehash(); }