operserv: notify_exclude gains server:<glob> to mute a whole relay server from the feed
All checks were successful
CI / check (push) Successful in 4m1s

This commit is contained in:
Jean Chevronnet 2026-07-18 17:35:04 +00:00
parent 4d327c3f47
commit 4247df8844
No known key found for this signature in database
4 changed files with 24 additions and 11 deletions

View file

@ -123,11 +123,12 @@ impl Expire {
#[derive(Debug, Deserialize, Clone)]
pub struct Log {
pub channel: String,
// Masks NOTIFY never announces: a `#channel` mask mutes that channel, any other
// mask (nick glob / user@host / extban) mutes a user. Set "*/*" to silence
// PyLink relay clients — their nicks carry a `/network` suffix — and add a
// channel like "#staff" to keep a broad `#*` watch out of it. Reloadable with
// REHASH.
// Masks NOTIFY never announces, three kinds: `#channel` mutes that channel,
// `server:<glob>` (or `via:`) mutes everyone on a matching server — the handle
// on a relay whose users have clean nicks — and any other mask (nick glob /
// user@host / extban) mutes a user. E.g. "*/*" silences PyLink relays that
// suffix nicks, "server:chatnova.relay" a relay that doesn't, "#staff" keeps a
// broad `#*` watch out of a channel. Reloadable with REHASH.
#[serde(default)]
pub notify_exclude: Vec<String>,
}