mirror of
https://github.com/anope/anope.git
synced 2026-07-03 02:43:13 +02:00
Switch Destroy methods to delete
This commit is contained in:
@@ -177,7 +177,7 @@ class ExpireCallback : public CallBack
|
||||
extra = "suspended ";
|
||||
Log(LOG_NORMAL, "expire") << "Expiring " << extra << "nickname " << na->nick << " (group: " << na->nc->display << ") (e-mail: " << (na->nc->email.empty() ? "none" : na->nc->email) << ")";
|
||||
FOREACH_MOD(I_OnNickExpire, OnNickExpire(na));
|
||||
na->Destroy();
|
||||
delete na;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user