summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 7f0ea8fd8..00c7c5f79 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2700,7 +2700,7 @@ int InspIRCd(char** argv, int argc)
InspSocket* s = (InspSocket*)*a;
if ((s) && (s->GetFd() == activefds[activefd]))
{
- if (!s->Poll())
+ if ((s->Timeout(TIME)) || (!s->Poll()))
{
log(DEBUG,"Socket poll returned false, close and bail");
SE->DelFd(s->GetFd());