diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-24 13:28:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-24 13:28:07 +0000 |
commit | 5d407fb44c759524881712a80febb86b4506ddbf (patch) | |
tree | f0f426e645518a859ad25284f478854818a92da8 /src/modules/extra/m_filter_pcre.cpp | |
parent | 009c5b0562c280743033ea6ca2e673201a8e218c (diff) |
delete operator tracking in debug mode (using a macro -- live with it.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_filter_pcre.cpp')
-rw-r--r-- | src/modules/extra/m_filter_pcre.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp index 267fc71b4..58ca77333 100644 --- a/src/modules/extra/m_filter_pcre.cpp +++ b/src/modules/extra/m_filter_pcre.cpp @@ -91,8 +91,8 @@ class ModuleFilterPCRE : public Module virtual ~ModuleFilterPCRE() { - delete MyConf; - delete Conf; + DELETE(MyConf); + DELETE(Conf); } void Implements(char* List) @@ -156,8 +156,8 @@ class ModuleFilterPCRE : public Module { // reload our config file on rehash - we must destroy and re-allocate the classes // to call the constructor again and re-read our data. - delete Conf; - delete MyConf; + DELETE(Conf); + DELETE(MyConf); Conf = new ConfigReader; std::string filterfile = Conf->ReadValue("filter","file",0); // this automatically re-reads the configuration file into the class |