modules: port antirandom, restrictcommands, restrictmsg, blockamsg, connectban

This commit is contained in:
Jean Chevronnet 2026-08-09 11:27:52 +00:00
parent 131471e245
commit a48b48e46f
7 changed files with 766 additions and 0 deletions

View file

@ -311,6 +311,9 @@ impl Server {
return;
}
// connectban — z-line an IP range that opens too many connections (see modules::connectban)
crate::modules::connectban::on_connect(self, ip);
// Pre-registration connection notices, InspIRCd / solanum style. Ident-113
// is archaic and firewalled, so those two are cosmetic; the hostname lookup
// is real (see `resolver`) — its result arrives later as an Event.