summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-18 15:46:39 -0400
committerAdam <Adam@anope.org>2013-05-18 15:47:26 -0400
commitbe4a39ceb6f1abb7e558eaeb46168ef5dbbe9809 (patch)
treedd6c79191e0ec9d530c48a82801d66110e2a8249 /src
parenta3dc75c61ca690eee66aea77522103952dddc8e5 (diff)
Fix desync when empty permanent channels are dropped on ircds that no have permanent channel mode
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 38246f5dd..4ed7b4d86 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -359,6 +359,8 @@ ChannelInfo::~ChannelInfo()
if (this->c)
{
+ this->Shrink("PERSIST");
+
if (this->bi && this->c->FindUser(this->bi))
this->bi->Part(this->c);