diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 01:35:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 01:35:01 +0000 |
commit | 12737ab4ad61a0d8a908c8a21594c7012e21eb3c (patch) | |
tree | bf819b3a528227d3ddf929e25e8b74d1db8ef1c7 /src/modules/m_vhost.cpp | |
parent | b8383dcc9524ca832de7daf56f44fe54b19e5bdc (diff) |
ConfigReader and FileReader now take InspIRCd* to their constructors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r-- | src/modules/m_vhost.cpp | 4 |
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 ¶meter) { DELETE(Conf); - Conf = new ConfigReader; + Conf = new ConfigReader(ServerInstance); } virtual Version GetVersion() |