summaryrefslogtreecommitdiff
path: root/src/core/cs_drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r--src/core/cs_drop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c
index 7de9b7327..5d4c43bfb 100644
--- a/src/core/cs_drop.c
+++ b/src/core/cs_drop.c
@@ -75,7 +75,7 @@ class CommandCSDrop : public Command
s_ChanServ, ci->name, u->nick, u->GetIdent().c_str(),
u->host, (ci->founder ? ci->founder->display : "(none)"));
- delchan(ci);
+ delete ci;
/* We must make sure that the Services admin has not normally the right to
* drop the channel before issuing the wallops.