operserv: NOTIFY honours a config exclude list so relay/pylinked clients cannot flood the feed

This commit is contained in:
Jean Chevronnet 2026-07-18 16:47:25 +00:00
parent c415117ec5
commit 8f19a94928
No known key found for this signature in database
8 changed files with 43 additions and 1 deletions

View file

@ -123,6 +123,12 @@ impl Expire {
#[derive(Debug, Deserialize, Clone)]
pub struct Log {
pub channel: String,
// Masks (nick globs / user@host / extbans) whose users are never announced to
// the feed. Set "*/*" to silence PyLink relay clients — their nicks carry a
// `/network` suffix — which would otherwise flood the channel through NOTIFY
// watches. Reloadable with REHASH.
#[serde(default)]
pub notify_exclude: Vec<String>,
}
// One services operator: an account and the privileges it holds.