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:
psychon
2010-02-18 17:07:50 +00:00
parent 122ef38fb0
commit 4825bb6d8e
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ CSocket::~CSocket() {
m_pModule->UnlinkSocket(this);
if (pUser) {
if (!m_pModule->IsGlobal() && pUser) {
pUser->AddBytesWritten(GetBytesWritten());
pUser->AddBytesRead(GetBytesRead());
} else {