]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_password_hash.cpp
Fix infinite loop on alias expansion, found by Adam
[user/henk/code/inspircd.git] / src / modules / m_password_hash.cpp
index afc6cdd7946213ee468b8acbba71ceafbe20e21b..617983ec4df49a56422a8876ddb8969730687b62 100644 (file)
@@ -114,11 +114,10 @@ class ModuleOperHash : public Module
        }
 
 
-       virtual void OnLoadModule(Module* mod, const std::string& name)
+       virtual void OnLoadModule(Module* mod)
        {
                if (ServerInstance->Modules->ModuleHasInterface(mod, "HashRequest"))
                {
-                       ServerInstance->Logs->Log("m_password-hash",DEBUG, "Post-load registering hasher: %s", name.c_str());
                        std::string sname = HashNameRequest(this, mod).response;
                        hashers[sname.c_str()] = mod;
                        names.push_back(sname);
@@ -152,7 +151,7 @@ class ModuleOperHash : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Allows for hashed oper passwords",VF_VENDOR,API_VERSION);
+               return Version("Allows for hashed oper passwords",VF_VENDOR);
        }
 };