mirror of
https://github.com/anope/anope.git
synced 2026-06-27 11:56:37 +02:00
Switch Destroy methods to delete
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
if (what.empty())
|
||||
{
|
||||
target_ci->Destroy();
|
||||
delete target_ci;
|
||||
target_ci = new ChannelInfo(*ci);
|
||||
target_ci->name = target;
|
||||
(*RegisteredChannelList)[target_ci->name] = target_ci;
|
||||
|
||||
Reference in New Issue
Block a user