harden: connclass clone-cap at register, ws control-frame limits, uuid recycle-skip, json-escape extjwt/filehost claims, metadata value/key caps, cloak numeric-dotted leak, relaymsg remote-nick, rpc set_oper block validation, isupport 13-token split, multi-hop privmsg routing, connectdelay=0

This commit is contained in:
Jean Chevronnet 2026-08-15 16:27:11 +00:00
parent e935ee7002
commit 35af95fd0f
11 changed files with 129 additions and 27 deletions

View file

@ -147,8 +147,9 @@ impl Module for RestrictCommands {
return ModResult::Passthru;
}
}
// connect-delay: allowed once connected long enough
if r.connectdelay > 0 && now().saturating_sub(signon) >= r.connectdelay {
// connect-delay: allowed once connected long enough (0 = no delay, so the
// command is allowed immediately)
if now().saturating_sub(signon) >= r.connectdelay {
return ModResult::Passthru;
}