diff options
author | Adam <Adam@anope.org> | 2013-02-14 20:58:01 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-14 20:58:01 -0500 |
commit | fc1d7ea89b5beed96022499fe7fa86bef7cf2aad (patch) | |
tree | 0208b9f5e153191742d15c51d6ca98737d8f7eb9 /src/xline.cpp | |
parent | 391f2822c8f6da7d6ffa8114817a8baf2aa265d5 (diff) |
Switch Destroy methods to delete
Diffstat (limited to 'src/xline.cpp')
-rw-r--r-- | src/xline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index 7ab8636ac..67f976d9a 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -301,7 +301,7 @@ bool XLineManager::DelXLine(XLine *x) { this->SendDel(x); - x->Destroy(); + delete x; this->xlines->erase(it); return true; @@ -327,7 +327,7 @@ void XLineManager::Clear() XLine *x = this->xlines->at(i); if (!x->id.empty()) XLinesByUID->erase(x->id); - x->Destroy(); + delete x; } this->xlines->clear(); } |