diff options
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r-- | src/modules/m_vhost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index 80d3f8f6b..cea5877b1 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -64,9 +64,9 @@ class ModuleVHost : public Module cmd_vhost* mycommand; public: - ModuleVHost(Server* Me) : Module::Module(Me) + ModuleVHost(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + Conf = new ConfigReader; mycommand = new cmd_vhost(); Srv->AddCommand(mycommand); @@ -110,7 +110,7 @@ class ModuleVHostFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleVHost(Me); } |