diff options
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r-- | src/modules/m_helpop.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 966f645d3..b6c723ca7 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -216,9 +216,9 @@ class ModuleHelpop : public Module virtual void OnRehash(const std::string ¶meter) { - delete conf; + DELETE(conf); if (helpop) - delete helpop; + DELETE(helpop); ReadConfig(); } @@ -242,8 +242,8 @@ class ModuleHelpop : public Module virtual ~ModuleHelpop() { - delete conf; - delete helpop; + DELETE(conf); + DELETE(helpop); } virtual Version GetVersion() |