diff options
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r-- | src/modules/m_hostchange.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index d4da6d1ff..512af06cd 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -45,10 +45,10 @@ class ModuleHostChange : public Module std::string MySuffix; public: - ModuleHostChange(Server* Me) + ModuleHostChange(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + Conf = new ConfigReader; OnRehash(""); } @@ -158,7 +158,7 @@ class ModuleHostChangeFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleHostChange(Me); } |