summaryrefslogtreecommitdiff
path: root/src/modules/m_joinflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r--src/modules/m_joinflood.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index 6b0b97bd5..798193659 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -194,7 +194,7 @@ class JoinFlood : public ModeHandler
{
joinfloodsettings *f;
channel->GetExt("joinflood", f);
- DELETE(f);
+ delete f;
channel->Shrink("joinflood");
channel->SetMode('j', false);
return MODEACTION_ALLOW;
@@ -259,7 +259,7 @@ class ModuleJoinFlood : public Module
joinfloodsettings *f;
if (chan->GetExt("joinflood",f))
{
- DELETE(f);
+ delete f;
chan->Shrink("joinflood");
}
}
@@ -272,7 +272,7 @@ class ModuleJoinFlood : public Module
virtual ~ModuleJoinFlood()
{
ServerInstance->Modes->DelMode(jf);
- DELETE(jf);
+ delete jf;
}
virtual Version GetVersion()