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

set throttling to 3 per 60 seconds by default (in case you have no set::throttle block)

This commit is contained in:
Bram Matthys
2015-05-23 19:08:37 +02:00
parent 3623ebae05
commit d386650f49
+1
View File
@@ -1483,6 +1483,7 @@ void config_setdefaultsettings(aConfiguration *i)
#ifdef NO_FLOOD_AWAY
i->away_count = 4; i->away_period = 120; /* awayflood protection: max 4 per 120s */
#endif
i->throttle_count = 3; i->throttle_period = 60; /* throttle protection: max 3 per 60s */
i->modef_default_unsettime = 0;
i->modef_max_unsettime = 60; /* 1 hour seems enough :p */
i->ban_version_tkl_time = 86400; /* 1d */