]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostchange.cpp
Update wiki links to use HTTPS and point to the correct pages.
[user/henk/code/inspircd.git] / src / modules / m_hostchange.cpp
index 68f3fdcbe494eae19440cd8807db6c5e93324400..7433fccd3e0195953f5ae9d1ad269bc0de868872 100644 (file)
@@ -58,7 +58,7 @@ class ModuleHostChange : public Module
        {
                OnRehash(NULL);
                Implementation eventlist[] = { I_OnRehash, I_OnUserConnect };
-               ServerInstance->Modules->Attach(eventlist, this, 2);
+               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        virtual void OnRehash(User* user)