summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 3c30fd6e8..cdc0dc26f 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -582,13 +582,9 @@ void SocketTimeout::Tick(time_t now)
if (ServerInstance->SocketCull.find(this->sock) == ServerInstance->SocketCull.end())
ServerInstance->SocketCull[this->sock] = this->sock;
-
- return;
- }
- else
- {
- this->sock->Timeout = NULL;
}
+
+ this->sock->Timeout = NULL;
}
bool InspSocket::Poll()