summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regchannel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 76e2dbded..acfe5cf91 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -373,6 +373,9 @@ ChannelInfo::~ChannelInfo()
RegisteredChannelList->erase(this->name);
+ this->SetFounder(NULL);
+ this->SetSuccessor(NULL);
+
this->ClearAccess();
this->ClearAkick();
this->ClearBadWords();