ngircd

Free, portable and lightweight Internet Relay Chat server http://ngircd.barton.de/
Log | Files | Refs | README | LICENSE

commit 3c30490d54da941e368d54aeb63cf56cf1aef345
parent 62503353525fd893156731521edc95b2bd6a1f6f
Author: Alexander Barton <alex@barton.de>
Date:   Sat, 20 Dec 2014 15:31:30 +0100

Reset "last try" timer when enabling a passive server

This results in a new connection attempt as soon as possible.

Diffstat:
Msrc/ngircd/conf.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c @@ -618,6 +618,7 @@ Conf_EnablePassiveServer(const char *Name) && (Conf_Server[i].port > 0)) { /* BINGO! Enable server */ Conf_Server[i].flags &= ~CONF_SFLAG_DISABLED; + Conf_Server[i].lasttry = 0; return true; } }