mirror of
https://github.com/anope/anope.git
synced 2026-06-25 19:16:37 +02:00
Switch Destroy methods to delete
This commit is contained in:
+1
-1
@@ -944,7 +944,7 @@ static bool DoneServices(ServerConfig *config, const Anope::string &)
|
||||
++it;
|
||||
|
||||
if (bi->conf && services.count(bi->nick) == 0)
|
||||
bi->Destroy();
|
||||
delete bi;
|
||||
}
|
||||
services.clear();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user