diff options
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index b6f277c03..0839a48e4 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -81,7 +81,7 @@ class ModuleChanProtect : public Module virtual void OnRehash(const std::string ¶meter) { // on a rehash we delete our classes for good measure and create them again. - delete Conf; + DELETE(Conf); Conf = new ConfigReader; // re-read our config options on a rehash FirstInGetsFounder = Conf->ReadFlag("options","noservices",0); @@ -318,7 +318,7 @@ class ModuleChanProtect : public Module virtual ~ModuleChanProtect() { - delete Conf; + DELETE(Conf); } virtual Version GetVersion() |