X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_restrictmsg.cpp;h=9ed09274658aceff11fab4e93624d48435b0de36;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=ef9181a2469857c245f4138926e25b41633edcad;hpb=fcacc8e0306382bc3f938073092c3729d77e2b41;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp index ef9181a24..9ed092746 100644 --- a/src/modules/m_restrictmsg.cpp +++ b/src/modules/m_restrictmsg.cpp @@ -29,9 +29,8 @@ class ModuleRestrictMsg : public Module public: - ModuleRestrictMsg() - { - + void init() + { Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice }; ServerInstance->Modules->Attach(eventlist, this, 2); }