summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index 2e541141d..a4b6d7d29 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -62,6 +62,7 @@ void SocketEngine::WantWrite(EventHandler* eh)
SocketEngine::SocketEngine(InspIRCd* Instance) : ServerInstance(Instance)
{
memset(ref, 0, sizeof(ref));
+ TotalEvents = WriteEvents = ReadEvents = ErrorEvents = 0;
}
SocketEngine::~SocketEngine()