From be4a39ceb6f1abb7e558eaeb46168ef5dbbe9809 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 18 May 2013 15:46:39 -0400 Subject: Fix desync when empty permanent channels are dropped on ircds that no have permanent channel mode --- src/regchannel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit