mirror of
https://github.com/anope/anope.git
synced 2026-07-01 00:06:39 +02:00
Switch Destroy methods to delete
This commit is contained in:
@@ -55,7 +55,7 @@ class CommandNSDrop : public Command
|
||||
FOREACH_MOD(I_OnNickDrop, OnNickDrop(source, na));
|
||||
|
||||
Log(!is_mine ? LOG_OVERRIDE : LOG_COMMAND, source, this) << "to drop nickname " << na->nick << " (group: " << na->nc->display << ") (email: " << (!na->nc->email.empty() ? na->nc->email : "none") << ")";
|
||||
na->Destroy();
|
||||
delete na;
|
||||
|
||||
if (!is_mine)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user