From 16659de0b2acda711be2ce4c037e1387fe2bc5a1 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sun, 3 Mar 2019 14:16:49 +0100 Subject: [PATCH] Changing set::anti-flood::invite-flood had no effect. It was always 4:60. Reported by Betaman2k in https://bugs.unrealircd.org/view.php?id=5222 --- src/s_conf.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/s_conf.c b/src/s_conf.c index 127662237..03087a96e 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -7934,6 +7934,13 @@ int _conf_set(ConfigFile *conf, ConfigEntry *ce) tempiConf.away_count = cnt; tempiConf.away_period = period; } + else if (!strcmp(cepp->ce_varname, "invite-flood")) + { + int cnt, period; + config_parse_flood(cepp->ce_vardata, &cnt, &period); + tempiConf.invite_count = cnt; + tempiConf.invite_period = period; + } else if (!strcmp(cepp->ce_varname, "knock-flood")) { int cnt, period;