summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-06 19:11:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-06 19:11:46 +0000
commitcb4248a10db4313367e8802299eba17cfb10d9dc (patch)
tree32a8031c7716b0acb4ae6d627a16dfcf5268c98f
parent308cd65a71268d78a84a9ef1e26b60fea66d5392 (diff)
Lets try this fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6526 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspsocket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index c5ff24c87..492cafdd9 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -551,6 +551,10 @@ void SocketTimeout::Tick(time_t now)
delete this->sock;
return;
}
+ else
+ {
+ this->sock->Timeout = NULL;
+ }
}
bool InspSocket::Poll()