diff options
| author | Alexander Barton <alex@barton.de> | 2014-12-20 15:31:30 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2014-12-20 15:31:55 +0100 |
| commit | 3c30490d54da941e368d54aeb63cf56cf1aef345 (patch) | |
| tree | b255b2d0031240ad2f5873f960eecf0b838ce5f9 /src | |
| parent | 62503353525fd893156731521edc95b2bd6a1f6f (diff) | |
| download | ngircd-3c30490d54da941e368d54aeb63cf56cf1aef345.tar.gz ngircd-3c30490d54da941e368d54aeb63cf56cf1aef345.zip | |
Reset "last try" timer when enabling a passive server
This results in a new connection attempt as soon as possible.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 5f8c3929..221e7a96 100644 --- 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; } } |