modules: port antirandom, restrictcommands, restrictmsg, blockamsg, connectban
This commit is contained in:
parent
131471e245
commit
a48b48e46f
7 changed files with 766 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue