anticaps channel mode (+B <percent>)

This commit is contained in:
Jean Chevronnet 2026-08-09 00:33:31 +00:00
parent 68fdd91eaa
commit 050ce37612
4 changed files with 70 additions and 3 deletions

View file

@ -148,6 +148,7 @@ pub struct ChanModes {
pub nickflood: Option<Rate>, // +F
pub redirect: Option<String>, // +L <#target> — when full, send there
pub history: Option<(u32, u64)>, // +H <lines>:<secs> — replay recent messages to joiners
pub anticaps: Option<u8>, // +B <percent> — block messages that are mostly CAPS
}
impl ChanModes {