]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_seenicks.cpp
Merge pull request #1147 from SaberUK/insp20+gcc6
[user/henk/code/inspircd.git] / src / modules / m_seenicks.cpp
index 297504e05d7e147f5bd46e5690ca289c2e6cebdd..95872b5b27dba2af1dcb2bd068ff580721991f72 100644 (file)
@@ -30,7 +30,7 @@ class ModuleSeeNicks : public Module
        {
                ServerInstance->SNO->EnableSnomask('n',"NICK");
                Implementation eventlist[] = { I_OnUserPostNick };
-               ServerInstance->Modules->Attach(eventlist, this, 1);
+               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        virtual Version GetVersion()