diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 12:09:52 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 12:09:52 +0000 |
commit | c47776703ef551ed8eeee336d21da73aae020103 (patch) | |
tree | fe6ebf3260b1555212589ff71da92e806ee1f7a7 /src/modules/m_censor.cpp | |
parent | 1c7deaf6fefa8755307c61ef4071a96f31f86916 (diff) |
DELETE()'s in destructors *fwap*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4203 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r-- | src/modules/m_censor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index 246079c10..d1e864419 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -137,8 +137,8 @@ class ModuleCensor : public Module virtual ~ModuleCensor() { - delete cu; - delete cc; + DELETE(cu); + DELETE(cc); } virtual void ReplaceLine(irc::string &text, irc::string pattern, irc::string replace) @@ -249,4 +249,3 @@ extern "C" void * init_module( void ) { return new ModuleCensorFactory; } - |