mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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