1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 01:23:12 +02:00

Fix hang when linking servers. Reported by k4be and acidvegas.

This commit is contained in:
Bram Matthys
2017-11-27 19:36:30 +01:00
parent be0b499d94
commit cc6d7757fa
+1 -1
View File
@@ -1409,7 +1409,7 @@ void process_clients(void)
do {
list_for_each_entry(cptr, &unknown_list, lclient_node)
if ((cptr->fd >= 0) && DBufLength(&cptr->local->recvQ))
if ((parse_client_queued(cptr) == FLUSH_BUFFER) || !IsUnknown(cptr))
if ((parse_client_queued(cptr) == FLUSH_BUFFER) || (cptr->status > STAT_UNKNOWN))
break;
} while(&cptr->lclient_node != &unknown_list);
}