mirror of
https://github.com/anope/anope.git
synced 2026-06-25 11:16:37 +02:00
Switch Destroy methods to delete
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ NickAlias::~NickAlias()
|
||||
this->nc->aliases->erase(it);
|
||||
if (this->nc->aliases->empty())
|
||||
{
|
||||
this->nc->Destroy();
|
||||
delete this->nc;
|
||||
this->nc = NULL;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user