X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_channelban.cpp;h=71d4de784afefefbb379a1ec962907c74542f5b7;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=8c5962f2a35e930f8dc9ebbeb7c20b6cb5581717;hpb=6dd61235fc8cb67ba9919b84be42c966b7273fac;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_channelban.cpp b/src/modules/m_channelban.cpp index 8c5962f2a..71d4de784 100644 --- a/src/modules/m_channelban.cpp +++ b/src/modules/m_channelban.cpp @@ -26,7 +26,8 @@ class ModuleBadChannelExtban : public Module { private: public: - ModuleBadChannelExtban() { + void init() + { Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 2); }