]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/userprocess.cpp
Fix --with-max-clients not taking a parameter (reported by erich)
[user/henk/code/inspircd.git] / src / userprocess.cpp
index a740d0d7c8d6b591751a1e9d5b5aee2606a71b50..b065c49fb51646b157b55e3700b314f8a01d002b 100644 (file)
@@ -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");