summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-12 20:56:49 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-12 20:56:49 +0000
commit798983e2512aadc0c078e86b12aa060d6a3287ad (patch)
tree4cf008972ba1bdfd10d5620127600234c170ca3d /include
parent4409bb7e5a0fa266eac6ba10893c0984631bc6a5 (diff)
Minor style tidyup.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10533 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspsocket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index 9ce7315c6..6d234134e 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -69,12 +69,15 @@ class CoreExport SocketTimeout : public Timer
/** BufferedSocket the class is attached to
*/
BufferedSocket* sock;
+
/** Server instance creating the timeout class
*/
InspIRCd* ServerInstance;
+
/** File descriptor of class this is attached to
*/
int sfd;
+
public:
/** Create a socket timeout class
* @param fd File descriptor of BufferedSocket
@@ -84,6 +87,7 @@ class CoreExport SocketTimeout : public Timer
* @param now The current time
*/
SocketTimeout(int fd, InspIRCd* Instance, BufferedSocket* thesock, long secs_from_now, time_t now) : Timer(secs_from_now, now), sock(thesock), ServerInstance(Instance), sfd(fd) { };
+
/** Handle tick event
*/
virtual void Tick(time_t now);