Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / s_bsd.c
index 6a5904f16d667a0e4b102ebacd6a3439cea0ca58..e53658e122e2c34014cab87695796bcd7ddf86e6 100644 (file)
@@ -476,8 +476,9 @@ void close_connection(struct Client *cptr)
        * CONF_ILLEGAL). But only do this if it was a "good" link.
        */
       aconf->hold = CurrentTime;
-      aconf->hold += (aconf->hold - cli_since(cptr) > HANGONGOODLINK) ?
-                     HANGONRETRYDELAY : ConfConFreq(aconf);
+      aconf->hold += ((aconf->hold - cli_since(cptr) >
+                      feature_int(FEAT_HANGONGOODLINK)) ?
+                     feature_int(FEAT_HANGONRETRYDELAY) : ConfConFreq(aconf));
       if (nextconnect > aconf->hold)
         nextconnect = aconf->hold;
     }