]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_password_hash.cpp
Automatically attach modules to events
[user/henk/code/inspircd.git] / src / modules / m_password_hash.cpp
index 03b69e85d7a511a0eaf69a20e2f4116c5c1c177b..4f7d9e4496dff34f21d90c298855ea4c63b4e8f7 100644 (file)
@@ -86,8 +86,6 @@ class ModuleOperHash : public Module
                OnRehash(NULL);
 
                ServerInstance->Modules->AddService(cmd);
-               Implementation eventlist[] = { I_OnPassCompare };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        ModResult OnPassCompare(Extensible* ex, const std::string &data, const std::string &input, const std::string &hashtype) CXX11_OVERRIDE