Remove CModule::m_bGlobal

This one is partly due to cppcheck, too, because it warned that one of CModule's
constructors didn't initialize m_bGlobal.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1765 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-02-18 12:51:59 +00:00
parent 7999cacf1c
commit b7450b0b21
3 changed files with 1 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ CSocket::~CSocket() {
m_pModule->UnlinkSocket(this);
if (!m_pModule->IsGlobal() && pUser) {
if (pUser) {
pUser->AddBytesWritten(GetBytesWritten());
pUser->AddBytesRead(GetBytesRead());
} else {