]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hidechans.cpp
Some more to fix still, modules probably wont load correctly atm
[user/henk/code/inspircd.git] / src / modules / m_hidechans.cpp
index 42614e937c877605fc2f272bb1ece6e9d5c8477e..cb910aa4b89baa3bccdcdb34cf2bb0bc0951cf8c 100644 (file)
@@ -61,6 +61,8 @@ class ModuleHideChans : public Module
                hm = new HideChans(ServerInstance);
                if (!ServerInstance->AddMode(hm))
                        throw ModuleException("Could not add new modes!");
+               Implementation eventlist[] = { I_OnWhoisLine };
+               ServerInstance->Modules->Attach(eventlist, this, 1);
        }
 
        void Implements(char* List)