1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 00:26:38 +02:00

Switch Destroy methods to delete

This commit is contained in:
Adam
2013-02-14 20:58:01 -05:00
parent 391f2822c8
commit fc1d7ea89b
32 changed files with 62 additions and 62 deletions
+1 -1
View File
@@ -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())