summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-10-02 13:57:59 -0400
committerAdam <Adam@anope.org>2016-10-02 13:57:59 -0400
commit9e4ed1439269c15d3c3c5cd37591fa79af252d61 (patch)
tree9a1369f4e8edd4b5e261f6a5f79caf6dea316085
parentc4056e45046348630da0c14fd89b3132f26062ca (diff)
Missed channel deletion in ~ChannelInfo
-rw-r--r--modules/chanserv/main/channel.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}