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:
prozacx
2005-07-10 23:55:22 +00:00
parent 4df25d55cb
commit 3b8b29e8a3
4 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -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);