mirror of
https://github.com/anope/anope.git
synced 2026-06-28 19:56:39 +02:00
Switch Destroy methods to delete
This commit is contained in:
@@ -242,7 +242,7 @@ class CommandBSBot : public Command
|
||||
Log(LOG_ADMIN, source, this) << "DEL " << bi->nick;
|
||||
|
||||
source.Reply(_("Bot \002%s\002 has been deleted."), nick.c_str());
|
||||
bi->Destroy();
|
||||
delete bi;
|
||||
return;
|
||||
}
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user