diff options
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r-- | src/modules/m_joinflood.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index b1dc5c657..ae31ab67c 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -165,7 +165,7 @@ class ModuleJoinFlood : public Module if (c->GetExt("joinflood")) { joinfloodsettings *f = (joinfloodsettings*)c->GetExt("joinflood"); - delete f; + DELETE(f); c->Shrink("joinflood"); } } @@ -211,7 +211,7 @@ class ModuleJoinFlood : public Module if (chan->GetExt("joinflood")) { joinfloodsettings *f = (joinfloodsettings*)chan->GetExt("joinflood"); - delete f; + DELETE(f); chan->Shrink("joinflood"); } } |