summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 21cec8302..c5f1a962f 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -175,6 +175,9 @@ InspIRCd::InspIRCd(int argc, char** argv)
modules.resize(255);
factory.resize(255);
+
+ memset(fd_ref_table, 0, sizeof(fd_ref_table));
+ memset(socket_ref, 0, sizeof(socket_ref));
this->Config = new ServerConfig(this);
this->Start();