summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 00:15:39 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 00:15:39 +0000
commit7a7fb7167c0e96509523c378e776cf38418cd4e5 (patch)
tree08d2442782c5529039b4378dbaee3ae78d7dcb36
parente92c1a66536dc9f812c3818acaf5605fe028fa9d (diff)
Remove an unused member.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10511 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/inspsocket.h6
-rw-r--r--src/inspsocket.cpp1
2 files changed, 0 insertions, 7 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index c3b24ad8f..f945c4f9d 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -140,12 +140,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
* easy retrieval by accessors.
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