]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Wait for the manager bind to come back before sending search in LDAP modules
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index fb9fd7f1fad84e051625abce7922a513d28a03dc..ee0fc01e4cb6fc58a77e84cb40e3e32ed55934ca 100644 (file)
@@ -74,13 +74,7 @@ class ModuleSetHost : public Module
        {
        }
 
-       void init() CXX11_OVERRIDE
-       {
-               OnRehash(NULL);
-               ServerInstance->Modules->AddService(cmd);
-       }
-
-       void OnRehash(User* user) CXX11_OVERRIDE
+       void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
        {
                std::string hmap = ServerInstance->Config->ConfValue("hostname")->getString("charmap", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789");