X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_muteban.cpp;h=c486a58683c70fd1cc648f59f13a71baddfa4153;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=03e3d646e12cd5cfee7b676808d6f427076862c1;hpb=46a39046196f55b52336e19662bb7bac85b731ac;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_muteban.cpp b/src/modules/m_muteban.cpp index 03e3d646e..c486a5868 100644 --- a/src/modules/m_muteban.cpp +++ b/src/modules/m_muteban.cpp @@ -26,7 +26,8 @@ class ModuleQuietBan : public Module { private: public: - ModuleQuietBan() { + void init() + { Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 3); }