diff options
Diffstat (limited to 'modules/commands/ms_del.cpp')
-rw-r--r-- | modules/commands/ms_del.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_del.cpp b/modules/commands/ms_del.cpp index c7ebedd48..33175d023 100644 --- a/modules/commands/ms_del.cpp +++ b/modules/commands/ms_del.cpp @@ -114,7 +114,7 @@ class CommandMSDel : public Command FOREACH_MOD(I_OnMemoDel, OnMemoDel(ci, mi, mi->GetMemo(i))); else FOREACH_MOD(I_OnMemoDel, OnMemoDel(source.nc, mi, mi->GetMemo(i))); - mi->GetMemo(i)->Destroy(); + delete mi->GetMemo(i); } mi->memos->clear(); if (!chan.empty()) |