]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_posix.cpp
m_kicknorejoin Store and compare uuids instead pointers
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_posix.cpp
index e3e436bd657052ba89594270264502da6f6c7e54..b3afd60c80b8c002ebdaa21eae3069690a775ab2 100644 (file)
@@ -96,7 +96,7 @@ public:
        ModuleRegexPOSIX() : ref(this) {
                ServerInstance->Modules->AddService(ref);
                Implementation eventlist[] = { I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, this, 1);
+               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
                OnRehash(NULL);
        }