mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Added KeepBuffer/Buffer config options to the User class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@168 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
13
Chan.cpp
13
Chan.cpp
@@ -3,6 +3,19 @@
|
||||
#include "User.h"
|
||||
#include "Utils.h"
|
||||
|
||||
CChan::CChan(const string& sName, CUser* pUser) {
|
||||
m_sName = sName;
|
||||
m_pUser = pUser;
|
||||
m_bAutoCycle = true;
|
||||
m_bDetached = false;
|
||||
m_uBufferCount = m_pUser->GetBufferCount();
|
||||
m_bKeepBuffer = m_pUser->KeepBuffer();
|
||||
Reset();
|
||||
}
|
||||
CChan::~CChan() {
|
||||
ClearNicks();
|
||||
}
|
||||
|
||||
void CChan::Reset() {
|
||||
m_bWhoDone = false;
|
||||
m_bIsOn = false;
|
||||
|
||||
Reference in New Issue
Block a user