summaryrefslogtreecommitdiff
path: root/src/modules/m_vhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r--src/modules/m_vhost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index af2dd2bb9..f0ebfe54b 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -67,7 +67,7 @@ class ModuleVHost : public Module
ModuleVHost(InspIRCd* Me) : Module::Module(Me)
{
- Conf = new ConfigReader;
+ Conf = new ConfigReader(ServerInstance);
mycommand = new cmd_vhost(ServerInstance);
ServerInstance->AddCommand(mycommand);
}
@@ -85,7 +85,7 @@ class ModuleVHost : public Module
virtual void OnRehash(const std::string &parameter)
{
DELETE(Conf);
- Conf = new ConfigReader;
+ Conf = new ConfigReader(ServerInstance);
}
virtual Version GetVersion()