diff options
Diffstat (limited to 'src/modules/m_messageflood.cpp')
-rw-r--r-- | src/modules/m_messageflood.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp index 61682c26f..c5df268ea 100644 --- a/src/modules/m_messageflood.cpp +++ b/src/modules/m_messageflood.cpp @@ -163,7 +163,7 @@ class ModuleMsgFlood : public Module if (c->GetExt("flood")) { floodsettings *f = (floodsettings*)c->GetExt("flood"); - delete f; + DELETE(f); c->Shrink("flood"); } } @@ -219,7 +219,7 @@ class ModuleMsgFlood : public Module if (chan->GetExt("flood")) { floodsettings *f = (floodsettings*)chan->GetExt("flood"); - delete f; + DELETE(f); chan->Shrink("flood"); } } |