X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_banexception.cpp;h=b10ed36042b62d50fb4503de031623d05e6eb2e4;hb=ad47ea662698e72ff8f79b03512b1e7fe81bdf53;hp=a2fd17651ffe58d3c8a1b178f921265fd7d39846;hpb=d9d99cd02dadf34bfcc220734ba0c422f0acb3e6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index a2fd17651..b10ed3604 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -24,8 +24,6 @@ #include "inspircd.h" #include "listmode.h" -/* $ModDesc: Provides support for the +e channel mode */ - /* Written by Om, April 2005. */ /* Rewritten to use the listmode utility by Om, December 2005 */ /* Adapted from m_exception, which was originally based on m_chanprotect and m_silence */ @@ -53,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"; @@ -116,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(); }