summaryrefslogtreecommitdiff
path: root/src/nickcore.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-14 20:58:01 -0500
committerAdam <Adam@anope.org>2013-02-14 20:58:01 -0500
commitfc1d7ea89b5beed96022499fe7fa86bef7cf2aad (patch)
tree0208b9f5e153191742d15c51d6ca98737d8f7eb9 /src/nickcore.cpp
parent391f2822c8f6da7d6ffa8114817a8baf2aa265d5 (diff)
Switch Destroy methods to delete
Diffstat (limited to 'src/nickcore.cpp')
-rw-r--r--src/nickcore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp
index f92d4739c..dcd324846 100644
--- a/src/nickcore.cpp
+++ b/src/nickcore.cpp
@@ -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();
}
}