mirror of
https://github.com/anope/anope.git
synced 2026-06-25 18:16:38 +02:00
Switch Destroy methods to delete
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ NickCore::~NickCore()
|
||||
if (!this->memos.memos->empty())
|
||||
{
|
||||
for (unsigned i = 0, end = this->memos.memos->size(); i < end; ++i)
|
||||
this->memos.GetMemo(i)->Destroy();
|
||||
delete this->memos.GetMemo(i);
|
||||
this->memos.memos->clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user