summaryrefslogtreecommitdiff
path: root/src/modules/m_operjoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r--src/modules/m_operjoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index 2517b385f..c33400954 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -32,13 +32,13 @@ class ModuleOperjoin : public Module
virtual void OnRehash(const std::string &parameter)
{
- delete conf;
+ DELETE(conf);
conf = new ConfigReader;
}
virtual ~ModuleOperjoin()
{
- delete conf;
+ DELETE(conf);
}
virtual Version GetVersion()