mirror of
https://github.com/anope/anope.git
synced 2026-06-28 15:36:38 +02:00
Switch Destroy methods to delete
This commit is contained in:
@@ -57,7 +57,7 @@ class CommandCSDrop : public Command
|
||||
FOREACH_MOD(I_OnChanDrop, OnChanDrop(ci));
|
||||
|
||||
Channel *c = ci->c;
|
||||
ci->Destroy();
|
||||
delete ci;
|
||||
|
||||
source.Reply(_("Channel \002%s\002 has been dropped."), chan.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user