]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_showwhois.cpp
Some more to fix still, modules probably wont load correctly atm
[user/henk/code/inspircd.git] / src / modules / m_showwhois.cpp
index 02a74535cf3fa6ef51c4a94c3f695033f19e36bf..322fc4a62a98f7d20ad9abd52fcbebfe2757ffaf 100644 (file)
@@ -62,6 +62,8 @@ class ModuleShowwhois : public Module
                sw = new SeeWhois(ServerInstance);
                if (!ServerInstance->AddMode(sw))
                        throw ModuleException("Could not add new modes!");
+               Implementation eventlist[] = { I_OnWhois };
+               ServerInstance->Modules->Attach(eventlist, this, 1);
        }
 
        ~ModuleShowwhois()