diff options
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 cea5877b1..cff56d4b1 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -25,7 +25,7 @@ using namespace std; /* $ModDesc: Provides masking of user hostnames via traditional /VHOST command */ static ConfigReader *Conf; -static Server* Srv; + class cmd_vhost : public command_t { @@ -69,7 +69,7 @@ class ModuleVHost : public Module Conf = new ConfigReader; mycommand = new cmd_vhost(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } virtual ~ModuleVHost() |