]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_password_hash.cpp
Update wiki links to use HTTPS and point to the correct pages.
[user/henk/code/inspircd.git] / src / modules / m_password_hash.cpp
index 5026749aa6f96b7f7d60ab521e8a9f55afb75141..98462780b09a7fda288759b029d0a9bd327ca845 100644 (file)
@@ -89,7 +89,7 @@ class ModuleOperHash : public Module
                /* Read the config file first */
                OnRehash(NULL);
 
-               ServerInstance->AddCommand(&cmd);
+               ServerInstance->Modules->AddService(cmd);
                Implementation eventlist[] = { I_OnPassCompare };
                ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }