mirror of
https://github.com/znc/znc.git
synced 2026-07-03 08:21:57 +02:00
Added InConfig() to tell whether this chan is saved in the config or not
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@426 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "Utils.h"
|
||||
#include "IRCSock.h"
|
||||
|
||||
CChan::CChan(const CString& sName, CUser* pUser) {
|
||||
CChan::CChan(const CString& sName, CUser* pUser, bool bInConfig) {
|
||||
m_sName = sName.Token(0);
|
||||
m_sKey = sName.Token(1);
|
||||
|
||||
@@ -12,6 +12,7 @@ CChan::CChan(const CString& sName, CUser* pUser) {
|
||||
m_sName = "#" + m_sName;
|
||||
}
|
||||
|
||||
m_bInConfig = bInConfig;
|
||||
m_pUser = pUser;
|
||||
m_Nick.SetUser(pUser);
|
||||
m_bAutoCycle = m_pUser->AutoCycle();
|
||||
|
||||
Reference in New Issue
Block a user