From 5401cc3c46ec9beacef2640ea10291bfa0d019cb Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 2 Mar 2010 03:23:18 +0000 Subject: Fix some more incorrect socket use --- src/inspsocket.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/inspsocket.cpp') diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 5ce51ae9b..fa4b3ca48 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -447,11 +447,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); -- cgit v1.3.1-10-gc9f91