]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockamsg.cpp
Some more to fix still, modules probably wont load correctly atm
[user/henk/code/inspircd.git] / src / modules / m_blockamsg.cpp
index 44f59f34791c4d03f04791e4fa28b51ac182a12a..9a6d6e34a406cea969a1789a113cae345dcb5b52 100644 (file)
@@ -49,6 +49,8 @@ class ModuleBlockAmsg : public Module
        {
                
                this->OnRehash(NULL,"");
+               Implementation eventlist[] = { I_OnRehash, I_OnPreCommand, I_OnCleanup };
+               ServerInstance->Modules->Attach(eventlist, this, 3);
        }
 
        void Implements(char* List)