From d386650f49da66ca78124df63000dc794fc7b993 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sat, 23 May 2015 19:08:37 +0200 Subject: [PATCH] set throttling to 3 per 60 seconds by default (in case you have no set::throttle block) --- src/s_conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/s_conf.c b/src/s_conf.c index 558664920..338692f97 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -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 */