1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-02 22:03:14 +02:00

fix code <1hr back. duh.

This commit is contained in:
Bram Matthys
2015-07-23 13:49:14 +02:00
parent a83ef4eccf
commit ecf71f0d4f
+3
View File
@@ -530,7 +530,10 @@ EVENT(check_unknowns)
list_for_each_entry_safe(cptr, cptr2, &unknown_list, lclient_node)
{
if (cptr->local->firsttime && ((TStime() - cptr->local->firsttime) > CONNECTTIMEOUT))
{
(void)exit_client(cptr, cptr, &me, "Registration Timeout");
continue;
}
if (DoingAuth(cptr) && ((TStime() - cptr->local->firsttime) > IDENT_CONNECT_TIMEOUT))
ident_failed(cptr);
}