From 9e4ed1439269c15d3c3c5cd37591fa79af252d61 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 2 Oct 2016 13:57:59 -0400 Subject: Missed channel deletion in ~ChannelInfo --- modules/chanserv/main/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/chanserv/main/channel.cpp') diff --git a/modules/chanserv/main/channel.cpp b/modules/chanserv/main/channel.cpp index 46680f76d..67a4c94ec 100644 --- a/modules/chanserv/main/channel.cpp +++ b/modules/chanserv/main/channel.cpp @@ -42,7 +42,7 @@ void ChannelImpl::Delete() if (this->c) { if (this->c && this->c->CheckDelete()) - delete this->c; + this->c->QueueForDeletion(); this->c = NULL; } -- cgit