Log message:
To avoid problems with infinite event loops, don't try connecting
to servers whose connect frequency is 0.
pullup from u2_10_11 branch
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@721
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2002-04-09 Brian Cline <clineb@cs.winthrop.edu>
+
+ * ircd/ircd.c (try_connections): To avoid problems with infinite event
+ loops, don't try connecting to servers whose connect frequency is 0.
+
2002-04-10 Alex Badea <vampire@p16.pub.ro>
* ircd/ircd_parser.y: fixed a "features" block parse bug
Debug((DEBUG_NOTICE, "Connection check at : %s", myctime(CurrentTime)));
for (aconf = GlobalConfList; aconf; aconf = aconf->next) {
/* Also when already connecting! (update holdtimes) --SRB */
- if (!(aconf->status & CONF_SERVER) || aconf->port == 0)
+ if (!(aconf->status & CONF_SERVER) || aconf->port == 0 || aconf->hold == 0)
continue;
/* Also skip juped servers */