summaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index fd51e4d61..fd9e329cd 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -112,7 +112,7 @@ class cmd_dccallow : public command_t
}
else
{
- DELETE(dl);
+ delete dl;
user->Shrink("dccallow_list");
// remove from userlist
@@ -276,7 +276,7 @@ class ModuleDCCAllow : public Module
user->GetExt("dccallow_list", dl);
if (dl)
{
- DELETE(dl);
+ delete dl;
user->Shrink("dccallow_list");
RemoveFromUserlist(user);
}