From 5d5a633184b3cdcce2b95db5f988ba9f10135799 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 18:59:15 +0000 Subject: Grrrrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2448 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 ++ src/modules.cpp | 1 + src/userprocess.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 64f12affe..1a262ac72 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -69,6 +69,7 @@ int WHOWAS_MAX = 100; // default 100 people maximum in the WHOWAS list extern std::vector modules; extern std::vector factory; +std::vector module_sockets; extern int MODCOUNT; int openSockfd[MAXSOCKS]; @@ -427,6 +428,7 @@ void kill_link_silent(userrec *user,const char* r) InspIRCd::InspIRCd(int argc, char** argv) { Start(); + module_sockets.clear(); this->startup_time = time(NULL); srand(time(NULL)); log(DEBUG,"*** InspIRCd starting up!"); diff --git a/src/modules.cpp b/src/modules.cpp index 668c7ec1b..881be766b 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -56,6 +56,7 @@ extern InspIRCd* ServerInstance; extern int MODCOUNT; extern std::vector modules; extern std::vector factory; +std::vector module_sockets; extern time_t TIME; class Server; diff --git a/src/userprocess.cpp b/src/userprocess.cpp index c156a99fe..3fb3805ef 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -64,6 +64,7 @@ extern struct sockaddr_in client,server; extern socklen_t length; extern std::vector modules; extern std::vector factory; +std::vector module_sockets; extern time_t TIME; extern time_t OLDTIME; -- cgit v1.2.3