From 3e6f9f06e26795f0d34ddc59a74355448e331366 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Wed, 6 May 2026 09:39:40 +0200 Subject: [PATCH] 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)"... :) --- src/modules/connthrottle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/connthrottle.c b/src/modules/connthrottle.c index 5eaef7a8b..6d71ecfbb 100644 --- a/src/modules/connthrottle.c +++ b/src/modules/connthrottle.c @@ -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;