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 a2e77f091..f419772d4 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -72,7 +72,7 @@ class ModuleVHost : public Module
virtual ~ModuleVHost()
{
- delete Conf;
+ DELETE(Conf);
}
void Implements(char* List)
@@ -82,7 +82,7 @@ class ModuleVHost : public Module
virtual void OnRehash(const std::string &parameter)
{
- delete Conf;
+ DELETE(Conf);
Conf = new ConfigReader;
}