summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-04-16 18:00:47 -0400
committerAdam <Adam@anope.org>2016-04-16 18:00:47 -0400
commitcb0cda2f8d3413c0e22e66813e67a604589f19e5 (patch)
treeb2c8754727ce072708ee825deb4ab44202f3087a
parentd2ea1e7917c045856f70cb8d82861e913a08a9f7 (diff)
Missed channel deletion in ~ChannelInfo
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index ba7fad650..356ceb093 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -157,7 +157,7 @@ ChannelInfo::~ChannelInfo()
if (this->c)
{
if (this->c && this->c->CheckDelete())
- delete this->c;
+ this->c->QueueForDeletion();
this->c = NULL;
}