summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}