From c4a345fe9903643a716ebf4c1df35fe28036bf4d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 19:02:14 +0000 Subject: Reverted module_sockets back to global scope git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2450 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 1a262ac72..ccb4ff3e2 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1612,12 +1612,12 @@ int InspIRCd::Run() { log(DEBUG,"Socket poll returned false, close and bail"); SE->DelFd(s->GetFd()); - for (std::vector::iterator a = this->module_sockets.begin(); a < this->module_sockets.end(); a++) + for (std::vector::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) { s_del = (InspSocket*)*a; if ((s_del) && (s_del->GetFd() == activefds[activefd])) { - this->module_sockets.erase(a); + module_sockets.erase(a); break; } } -- cgit v1.2.3