From: w00t Date: Thu, 11 Sep 2008 00:15:39 +0000 (+0000) Subject: Remove an unused member. X-Git-Tag: v2.0.23~2570 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=7a7fb7167c0e96509523c378e776cf38418cd4e5;p=user%2Fhenk%2Fcode%2Finspircd.git Remove an unused member. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10511 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/include/inspsocket.h b/include/inspsocket.h index c3b24ad8f..f945c4f9d 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -139,12 +139,6 @@ class CoreExport BufferedSocket : public EventHandler */ BufferedSocketState state; - /** - * This value is true if the - * socket has timed out. - */ - bool timeout; - /** * The IP address being connected * to stored in string form for diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 1a88afaca..f3917bba0 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -504,7 +504,6 @@ void SocketTimeout::Tick(time_t) // connection. this->sock->OnTimeout(); this->sock->OnError(I_ERR_TIMEOUT); - this->sock->timeout = true; /* NOTE: We must set this AFTER DelFd, as we added * this socket whilst writeable. This means that we