summaryrefslogtreecommitdiff
path: root/src/modules/m_messageflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_messageflood.cpp')
-rw-r--r--src/modules/m_messageflood.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index 0e5ce84f9..a2029427d 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -186,7 +186,7 @@ class MsgFlood : public ModeHandler
{
if (channel->GetExt("flood", f))
{
- DELETE(f);
+ delete f;
channel->Shrink("flood");
channel->SetMode('f', false);
return MODEACTION_ALLOW;
@@ -284,7 +284,7 @@ class ModuleMsgFlood : public Module
floodsettings* f;
if (chan->GetExt("flood", f))
{
- DELETE(f);
+ delete f;
chan->Shrink("flood");
}
}
@@ -297,7 +297,7 @@ class ModuleMsgFlood : public Module
virtual ~ModuleMsgFlood()
{
ServerInstance->Modes->DelMode(mf);
- DELETE(mf);
+ delete mf;
}
virtual Version GetVersion()