summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index e3b8f8c8a..c20b76dd7 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -446,11 +446,6 @@ void SocketTimeout::Tick(time_t)
// connection.
this->sock->OnTimeout();
this->sock->OnError(I_ERR_TIMEOUT);
-
- /* NOTE: We must set this AFTER DelFd, as we added
- * this socket whilst writeable. This means that we
- * must DELETE the socket whilst writeable too!
- */
this->sock->state = I_ERROR;
ServerInstance->GlobalCulls.AddItem(sock);