]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_oper_hash.cpp
Fix these to use new hook system (u_listmode wasnt fixed yet)
[user/henk/code/inspircd.git] / src / modules / m_oper_hash.cpp
index fd7e683dec3079c9a22bdc2dad5dd1888853be2d..0d2164e9cc61a4ffa5827154ce40c390e5f29fa8 100644 (file)
@@ -108,6 +108,8 @@ class ModuleOperHash : public Module
 
                mycommand = new CommandMkpasswd(ServerInstance, this, hashers, names);
                ServerInstance->AddCommand(mycommand);
+               Implementation eventlist[] = { I_OnRehash, I_OnOperCompare };
+               ServerInstance->Modules->Attach(eventlist, this, 2);
        }
        
        virtual ~ModuleOperHash()