]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_posix.cpp
Automatically attach modules to events
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_posix.cpp
index 064edb5f639b7a46d84c86b684611fa73a0f2a43..3a35ce43bc5ef1756cff183546cefe923718ad70 100644 (file)
@@ -95,8 +95,6 @@ class ModuleRegexPOSIX : public Module
        ModuleRegexPOSIX() : ref(this)
        {
                ServerInstance->Modules->AddService(ref);
-               Implementation eventlist[] = { I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
                OnRehash(NULL);
        }