diff options
Diffstat (limited to 'src/modules/m_silence_ext.cpp')
-rw-r--r-- | src/modules/m_silence_ext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index c2a32c706..011bd84a6 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -121,7 +121,7 @@ class CommandSilence : public Command user->WriteServ("950 %s %s :Removed %s %s from silence list",user->nick, user->nick, mask.c_str(), DecompPattern(pattern).c_str()); if (!sl->size()) { - DELETE(sl); + delete sl; user->Shrink("silence_list"); } return CMD_SUCCESS; @@ -265,7 +265,7 @@ class ModuleSilence : public Module user->GetExt("silence_list", sl); if (sl) { - DELETE(sl); + delete sl; user->Shrink("silence_list"); } } |