mirror of
https://github.com/znc/znc.git
synced 2026-05-09 06:44:40 +02:00
Revert r1765
This breaks traffic stats. Thanks to flakes for noticing. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1773 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ CSocket::~CSocket() {
|
||||
|
||||
m_pModule->UnlinkSocket(this);
|
||||
|
||||
if (pUser) {
|
||||
if (!m_pModule->IsGlobal() && pUser) {
|
||||
pUser->AddBytesWritten(GetBytesWritten());
|
||||
pUser->AddBytesRead(GetBytesRead());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user