Merge pull request #937 from elyscape/fix/1.6.x/write_chan_config_removal

Write config file when channel is removed (#932)
This commit is contained in:
J-P Nurmi
2015-04-01 07:52:38 +02:00
+1 -3
View File
@@ -644,8 +644,6 @@ void CChan::SetKey(const CString& s) {
void CChan::SetInConfig(bool b) {
if (m_bInConfig != b) {
m_bInConfig = b;
if (m_bInConfig) {
CZNC::Get().SetConfigState(CZNC::ECONFIG_NEED_WRITE);
}
CZNC::Get().SetConfigState(CZNC::ECONFIG_NEED_WRITE);
}
}