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 --- src/userprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index a740d0d7c..b065c49fb 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -254,7 +254,7 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME) * registration timeout -- didnt send USER/NICK/HOST * in the time specified in their connection class. */ - if (((unsigned)TIME > (unsigned)curr->timeout) && (curr->registered != REG_ALL)) + if ((TIME > curr->timeout) && (curr->registered != REG_ALL)) { this->Log(DEBUG,"InspIRCd: registration timeout: %s",curr->nick); GlobalGoners.AddItem(curr,"Registration timeout"); -- cgit v1.2.3