mirror of
https://github.com/znc/znc.git
synced 2026-05-05 13:02:31 +02:00
Keep the traffic stats more up-to-date (/msg *status traffic)
This now also adds the traffic caused by webadmin, schat and dcc bouncing to the stats. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1183 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -335,6 +335,9 @@ CWebAdminSock::~CWebAdminSock() {
|
||||
CWebAdminAuth* pAuth = (CWebAdminAuth*) &(*m_spAuth);
|
||||
pAuth->SetWebAdminSock(NULL);
|
||||
}
|
||||
|
||||
CZNC::Get().AddBytesRead(GetBytesRead());
|
||||
CZNC::Get().AddBytesWritten(GetBytesWritten());
|
||||
}
|
||||
|
||||
bool CWebAdminSock::OnPageRequest(const CString& sURI, CString& sPageRet) {
|
||||
|
||||
Reference in New Issue
Block a user