mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 15:34:47 +02:00
set::connthrottle::disabled-when::reputation-gathering default of 1 week
was stated in docs at https://www.unrealircd.org/docs/Connthrottle but if this item was not there then the default was actually zero (0). Now, that isn't too common, since we ship with example.conf with the connthrottle block as shown there, so lots of users have the proper default, but just in case someone hand-writes or removed that connthrottle settings block ("because they are the default)"... :)
This commit is contained in:
@@ -153,6 +153,7 @@ MOD_TEST()
|
||||
cfg.local.count = 20; cfg.local.period = 60;
|
||||
cfg.global.count = 30; cfg.global.period = 60;
|
||||
cfg.start_delay = 180; /* 3 minutes */
|
||||
cfg.reputation_gathering = 7*86400; /* 1 week */
|
||||
safe_strdup(cfg.reason, "Throttled: Too many users trying to connect, please wait a while and try again");
|
||||
cfg.except = safe_alloc(sizeof(SecurityGroup));
|
||||
cfg.except->reputation_score = 24;
|
||||
|
||||
Reference in New Issue
Block a user