summaryrefslogtreecommitdiff
path: root/src/modules/m_denychans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_denychans.cpp')
-rw-r--r--src/modules/m_denychans.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index cfa96e2b3..67e4da607 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -38,13 +38,13 @@ class ModuleDenyChannels : public Module
virtual void OnRehash(const std::string &param)
{
- delete Conf;
+ DELETE(Conf);
Conf = new ConfigReader;
}
virtual ~ModuleDenyChannels()
{
- delete Conf;
+ DELETE(Conf);
}
virtual Version GetVersion()