Merge branch '1.6.x'

Conflicts:
	README.md
	modules/data/webadmin/tmpl/settings.tmpl
	src/Query.cpp
This commit is contained in:
J-P Nurmi
2015-07-14 23:03:21 +02:00
3 changed files with 56 additions and 44 deletions

View File

@@ -21,7 +21,8 @@
using std::vector;
CQuery::CQuery(const CString& sName, CIRCNetwork* pNetwork) : m_sName(sName), m_pNetwork(pNetwork), m_Buffer() {
SetBufferCount(m_pNetwork->GetUser()->GetBufferCount(), true);
// Bandaid for users who upgrade from <=1.4 and have 0 in "default channel buffer size" setting.
SetBufferCount(std::max(100u, m_pNetwork->GetUser()->GetBufferCount()), true);
}
CQuery::~CQuery() {