diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 18:59:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 18:59:15 +0000 |
commit | 5d5a633184b3cdcce2b95db5f988ba9f10135799 (patch) | |
tree | 42f8f1efba7d487f3573506a4f0159e32227b171 | |
parent | bbc97413d21f3f0ea8e4f8353541ed9cc73fcc20 (diff) |
Grrrrrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2448 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 2 | ||||
-rw-r--r-- | src/modules.cpp | 1 | ||||
-rw-r--r-- | src/userprocess.cpp | 1 |
3 files changed, 4 insertions, 0 deletions
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<Module*> modules; extern std::vector<ircd_module*> factory; +std::vector<InspSocket*> 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<Module*> modules; extern std::vector<ircd_module*> factory; +std::vector<InspSocket*> 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<Module*> modules; extern std::vector<ircd_module*> factory; +std::vector<InspSocket*> module_sockets; extern time_t TIME; extern time_t OLDTIME; |