summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
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");