]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanprotect.cpp
Fix all typos (not as fun as 'kill all humans' but meh, beggers cant be choosers)
[user/henk/code/inspircd.git] / src / modules / m_chanprotect.cpp
index b6f277c0379030acd324e8bb7a63a79f6c5f6f8e..0839a48e41e42f718d2c5770ff14e818b33c296b 100644 (file)
@@ -81,7 +81,7 @@ class ModuleChanProtect : public Module
        virtual void OnRehash(const std::string &parameter)
        {
                // 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()