mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +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:
@@ -1224,9 +1224,9 @@ const char *ct_allow_client(Client *client, ConfigItem_allow *aconf)
|
|||||||
if (category != CT_CATEGORY_UNKNOWN_USERS)
|
if (category != CT_CATEGORY_UNKNOWN_USERS)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* Same dormancy gates as the existing rate-throttle. */
|
/* start-delay only applies to the rate-throttle, not here.
|
||||||
if (me.local->creationtime + cfg.start_delay > TStime())
|
* The other two restrictions still apply.
|
||||||
return NULL;
|
*/
|
||||||
if (ucounter->disabled)
|
if (ucounter->disabled)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (still_reputation_gathering())
|
if (still_reputation_gathering())
|
||||||
|
|||||||
Reference in New Issue
Block a user