X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_restrictmsg.cpp;h=de7737e66993a4dbd8c9145c21900669d5a02b7f;hb=de25d946733f774e3a5b53a58438a9c92af0acbe;hp=affcd5a24a2353889ec59644f2098aa02da4d626;hpb=7d93921aabd9c608821baec8a871aff844dfae49;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp index affcd5a24..de7737e66 100644 --- a/src/modules/m_restrictmsg.cpp +++ b/src/modules/m_restrictmsg.cpp @@ -21,9 +21,8 @@ class ModuleRestrictMsg : public Module public: - ModuleRestrictMsg(InspIRCd* Me) - : Module(Me) - { + ModuleRestrictMsg() + { Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice }; ServerInstance->Modules->Attach(eventlist, this, 2);