mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user