diff options
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r-- | src/modules/m_hostchange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index 2fe7ddbb8..d270c74d4 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -49,7 +49,7 @@ class ModuleHostChange : public Module : Module::Module(Me) { - Conf = new ConfigReader; + Conf = new ConfigReader(ServerInstance); OnRehash(""); } @@ -71,7 +71,7 @@ class ModuleHostChange : public Module virtual void OnRehash(const std::string ¶meter) { DELETE(Conf); - Conf = new ConfigReader; + Conf = new ConfigReader(ServerInstance); MySuffix = Conf->ReadValue("host","suffix",0); for (hostchanges_t::iterator i = hostchanges.begin(); i != hostchanges.end(); i++) { |