mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-26 14:16:38 +02:00
8619d1e763
by armyn in https://bugs.unrealircd.org/view.php?id=5769. The default behavior in 5.x is to continue matching: allow { ip *@*; class clients; maxperip 2; } allow { ip *@*; password "iwantmore"; class clients; maxperip 10; } This so users who provide a password get additional rights, such as a higher maxperip or a different class, etc. If the user connects without a password then we simply continue to the next block and use the general block with only 2 maxperip. However, some people want to use passwords to keep other users out. That is entirely understandable as it is an 'allow block' after all. For example: allow { ip *@*; class clients; maxperip 2; } allow { ip *@*.nl; password "tehdutch"; class clients; maxperip 2; options { reject-on-auth-failure; } } In this case anyone without the correct password will be rejected access.