summaryrefslogtreecommitdiff
path: root/src/modules/m_blockamsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
-rw-r--r--src/modules/m_blockamsg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index 95dfa40c4..0472e2417 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -91,7 +91,7 @@ public:
else
action = IBLOCK_KILLOPERS;
- delete Conf;
+ DELETE(Conf);
}
virtual int OnPreCommand(const std::string &command, char **parameters, int pcnt, userrec *user, bool validated)
@@ -171,7 +171,7 @@ public:
BlockedMessage* m = (BlockedMessage*)user->GetExt("amsgblock");
if(m)
{
- delete m;
+ DELETE(m);
user->Shrink("amsgblock");
}
}