commit - 4f6c19712eace7f981902ddc90d9b8393b676ae5
commit + 8d68fe3f867732cbec094cdf7240a46e631c2838
blob - acd50bcdcf673d8cfa4ef763a2ffee678daf59ef
blob + a8e93a27e45fecf7a70df4c462c5252411102339
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
/* Check all configured servers */
for (i = 0; i < MAX_SERVERS; i++) {
- if (Conf_Server[i].conn_id > NONE)
- continue; /* Already connected */
+ if (Conf_Server[i].conn_id != NONE)
+ continue; /* Already establishing or connected */
if (!Conf_Server[i].host[0] || !Conf_Server[i].port > 0)
continue; /* No host and/or port configured */
if (Conf_Server[i].flags & CONF_SFLAG_DISABLED)