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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user