diff options
-rw-r--r-- | modules/chanserv/main/channel.cpp | 2 |
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; } |