diff options
author | Adam <Adam@anope.org> | 2013-03-02 23:41:38 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-02 23:42:00 -0500 |
commit | ae4421b8a2857186a0b0886c395839607507e4f2 (patch) | |
tree | e5df2a45dad0b28f22636318b622797e663007b6 | |
parent | 2d309da0f62724f8b775aacb9ab0e28d7977ccd2 (diff) |
Unset founder/successors when channels are deleted
-rw-r--r-- | src/regchannel.cpp | 3 |
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(); |