mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Move the EModuleType into CModInfo
This also renames the values to shorter and more "well sounding" names. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ CSocket::~CSocket() {
|
||||
m_pModule->UnlinkSocket(this);
|
||||
}
|
||||
|
||||
if (pUser && m_pModule && (m_pModule->GetType() != ModuleTypeGlobal)) {
|
||||
if (pUser && m_pModule && (m_pModule->GetType() != CModInfo::GlobalModule)) {
|
||||
pUser->AddBytesWritten(GetBytesWritten());
|
||||
pUser->AddBytesRead(GetBytesRead());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user