X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fircd.c;h=d43f2b33062d8cb12d845f194705b6d84063fe39;hb=8e5976491f54c7db275880db1c6e29d4e7bf1dc6;hp=db6c6040f38aabf9d9a7a3d4fc95d14e170f14a5;hpb=10137fcff95f69185c8097c835c09127b1a75167;p=ircu2.10.12-pk.git diff --git a/ircd/ircd.c b/ircd/ircd.c index db6c604..d43f2b3 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -260,7 +260,6 @@ static void try_connections(struct Event* ev) { */ if (!(aconf->status & CONF_SERVER) || aconf->address.port == 0 - || aconf->hold == 0 || ((ajupe = jupe_find(aconf->name)) && JupeIsActive(ajupe))) continue; @@ -278,11 +277,10 @@ static void try_connections(struct Event* ev) { * or if connect rules forbid a link now. */ if (hold - || (Links(cltmp) >= MaxLinks(cltmp)) + || (Links(cltmp) > MaxLinks(cltmp)) || FindServer(aconf->name) - || conf_eval_crule(aconf->name, CRULE_MASK)) { + || conf_eval_crule(aconf->name, CRULE_MASK)) continue; - } /* Ensure it is at the end of the list for future checks. */ if (aconf->next) {