summaryrefslogtreecommitdiff
path: root/src/modules/m_opermodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermodes.cpp')
-rw-r--r--src/modules/m_opermodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp
index 5841f36fd..4acacf669 100644
--- a/src/modules/m_opermodes.cpp
+++ b/src/modules/m_opermodes.cpp
@@ -39,13 +39,13 @@ class ModuleModesOnOper : public Module
virtual void OnRehash(User* user, const std::string &parameter)
{
- DELETE(Conf);
+ delete Conf;
Conf = new ConfigReader(ServerInstance);
}
virtual ~ModuleModesOnOper()
{
- DELETE(Conf);
+ delete Conf;
}
virtual Version GetVersion()