summaryrefslogtreecommitdiff
path: root/src/s_serv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_serv.c')
-rw-r--r--src/s_serv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s_serv.c b/src/s_serv.c
index 118abc4..b6ccd60 100644
--- a/src/s_serv.c
+++ b/src/s_serv.c
@@ -297,7 +297,7 @@ try_connections(void *unused)
* made one successfull connection... [this algorithm is
* a bit fuzzy... -- msa >;) ]
*/
- if (conf->hold > CurrentTime)
+ if (conf->until > CurrentTime)
continue;
if (conf->class == NULL)
@@ -309,7 +309,7 @@ try_connections(void *unused)
confrq = MIN_CONN_FREQ;
}
- conf->hold = CurrentTime + confrq;
+ conf->until = CurrentTime + confrq;
/* Found a CONNECT config with port specified, scan clients
* and see if this server is already connected?