mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
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:
+1
-3
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user