]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_restrictmsg.cpp
Fix these to use new hook system (u_listmode wasnt fixed yet)
[user/henk/code/inspircd.git] / src / modules / m_restrictmsg.cpp
index b63d7c7b79232a761d7e3a72602c3003479c8012..c9d9b305873132e7f150038862d62ce235dd6f0d 100644 (file)
@@ -25,6 +25,8 @@ class ModuleRestrictMsg : public Module
                : Module(Me)
        {
                
+               Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice };
+               ServerInstance->Modules->Attach(eventlist, this, 2);
        }
 
        void Implements(char* List)