1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 00:23:13 +02:00

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
This commit is contained in:
Bram Matthys
2019-03-03 14:16:49 +01:00
parent 766055d5c0
commit 16659de0b2
+7
View File
@@ -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;