mirror of
https://github.com/anope/anope.git
synced 2026-06-28 17:56:38 +02:00
Switch Destroy methods to delete
This commit is contained in:
@@ -286,7 +286,7 @@ class CommandCSAccess : public Command
|
||||
Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to delete " << access->mask;
|
||||
|
||||
FOREACH_MOD(I_OnAccessDel, OnAccessDel(ci, source, access));
|
||||
access->Destroy();
|
||||
delete access;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user