summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socketengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index 65571caf5..3f34d75fb 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -33,6 +33,7 @@
SocketEngine::SocketEngine(InspIRCd* Instance) : ServerInstance(Instance)
{
+ memset(ref, 0, sizeof(ref));
}
SocketEngine::~SocketEngine()