From 089cf1f5fd2ca1d2ca9d49db3c646ecbede67167 Mon Sep 17 00:00:00 2001 From: peavey Date: Fri, 22 Dec 2006 22:02:50 +0000 Subject: change userrec int timeout to time_t since it's a timestamp made of TIME + users connection class timeout. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6066 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 8a7fa1aeb..80fbf43e0 100644 --- a/include/users.h +++ b/include/users.h @@ -305,11 +305,11 @@ class userrec : public connection */ int flood; - /** Number of seconds this user is given to send USER/NICK - * If they do not send their details in this time limit they - * will be disconnected + /** Timestamp of current time + connection class timeout. + * This user must send USER/NICK before this timestamp is + * reached or they will be disconnected. */ - unsigned int timeout; + time_t timeout; /** The oper type they logged in as, if they are an oper. * This is used to check permissions in operclasses, so that -- cgit v1.3.1-10-gc9f91