1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 15:34:47 +02:00

Connthrottle has a start delay, but this makes no sense for the ipv6 stuff.

The start delay is there for the rate limit (since lots of users may
connect after starting the server). The IPv6 is not a ratelimit but a limit.
This commit is contained in:
Bram Matthys
2026-05-13 13:34:21 +02:00
parent 80771ac3b4
commit 0007ccda47
+3 -3
View File
@@ -1224,9 +1224,9 @@ const char *ct_allow_client(Client *client, ConfigItem_allow *aconf)
if (category != CT_CATEGORY_UNKNOWN_USERS)
return NULL;
/* Same dormancy gates as the existing rate-throttle. */
if (me.local->creationtime + cfg.start_delay > TStime())
return NULL;
/* start-delay only applies to the rate-throttle, not here.
* The other two restrictions still apply.
*/
if (ucounter->disabled)
return NULL;
if (still_reputation_gathering())