mirror of
https://github.com/znc/znc.git
synced 2026-08-05 08:23:12 +02:00
Added flag to CChan to tell whether chan is in the config or not
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@427 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -690,7 +690,7 @@ bool CZNC::ParseConfig(const CString& sConfig) {
|
||||
return false;
|
||||
}
|
||||
|
||||
pChan = new CChan(sValue, pUser);
|
||||
pChan = new CChan(sValue, pUser, true);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
@@ -800,7 +800,7 @@ bool CZNC::ParseConfig(const CString& sConfig) {
|
||||
CUtils::PrintStatus(pUser->AddServer(sValue));
|
||||
continue;
|
||||
} else if (sName.CaseCmp("Chan") == 0) {
|
||||
pUser->AddChan(sValue);
|
||||
pUser->AddChan(sValue, true);
|
||||
continue;
|
||||
} else if (sName.CaseCmp("LoadModule") == 0) {
|
||||
CString sModName = sValue.Token(0);
|
||||
|
||||
Reference in New Issue
Block a user