summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 19:02:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 19:02:14 +0000
commitc4a345fe9903643a716ebf4c1df35fe28036bf4d (patch)
treea27a75d068c6837bf1ca1a970b0e51b90431dfd2 /src
parentb5bb8ac18421a29ee98ca61919959b0221feecd0 (diff)
Reverted module_sockets back to global scope
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2450 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
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<InspSocket*>::iterator a = this->module_sockets.begin(); a < this->module_sockets.end(); a++)
+ for (std::vector<InspSocket*>::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;
}
}