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
+1 -1
View File
@@ -50,7 +50,7 @@ public:
{
if ( !m_pUser->FindChan( it->first ) )
{
CChan *pChan = new CChan( it->first, m_pUser );
CChan *pChan = new CChan( it->first, m_pUser, true );
if ( !it->second.empty() )
pChan->SetKey( it->second );
m_pUser->AddChan( pChan );