From 0fbc81cffcf28adb80b731f3604d7ea02c32f86b Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Dec 2005 15:45:25 +0000 Subject: Fixed timeout code git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2344 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/socket.h b/include/socket.h index b3a50f91a..6e4abf1eb 100644 --- a/include/socket.h +++ b/include/socket.h @@ -56,6 +56,7 @@ public: virtual void OnClose(); virtual char* Read(); std::string GetIP(); + bool Timeout(time_t current); virtual int Write(std::string data); virtual int OnIncomingConnection(int newfd, char* ip); void SetState(InspSocketState s); -- cgit v1.2.3