Write config file when channel is removed (#932)

This commit is contained in:
Eli Young
2015-03-31 16:44:52 -07:00
parent 682e364832
commit 53254173b1
+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);
}
}