mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 18:54:46 +02:00
0940ed5d13
Changed "Too many connections from your IP" to have "[maxperip]" at the end. Also create new setting and swap it with existing-one-during-development. Long story short, we now have 3 different messages for these limits: set::reject-message::too-many-connections "Too many connections from your IP [maxperip]" set::reject-message::too-many-connections-ipv6-range "Too many connections from your IPv6 range ($prefix_addr/$prefix_len) [maxperip]" set::reject-message::too-many-new-connections-ipv6-range "Too many new connections from this IPv6 range ($prefix_addr/$prefix_len) [connthrottle]" So we explicitly mention whether it is maxperip or connthrottle limiting the user, that should provide enough clue to the IRCOp if the user pastes the message to them.