diff --git a/config.example.toml b/config.example.toml index 0d605e8..e7712c5 100644 --- a/config.example.toml +++ b/config.example.toml @@ -56,11 +56,12 @@ protocol = 1206 # InspIRCd link protocol version (1206 = insp4, 1205 # surfaced. Omit the section to disable the feed. # [log] # channel = "#services" -# Masks whose users OperServ NOTIFY never matches, so they can't flood the feed. -# The classic case is PyLink relay clients: their nicks carry a `/network` suffix, -# so "*/*" silences every relayed user in one line. Accepts nick globs, user@host, -# or extbans (same syntax as a NOTIFY mask). Reloadable with OperServ REHASH. -# notify_exclude = ["*/*"] +# Masks OperServ NOTIFY never announces, so they can't flood the feed. A `#channel` +# mask mutes that channel (e.g. keep a broad `#*` watch out of "#staff"); any other +# mask mutes a user — nick globs, user@host, or extbans, same syntax as a NOTIFY +# mask. "*/*" silences PyLink relay clients (their nicks carry a `/network` suffix). +# Reloadable with OperServ REHASH. +# notify_exclude = ["*/*", "#staff"] # Inactivity-expiry: accounts not identified to, and channels not joined, for # longer than the threshold are dropped on a periodic pass (opers, live diff --git a/src/config.rs b/src/config.rs index 0ba064d..f696998 100644 --- a/src/config.rs +++ b/src/config.rs @@ -123,10 +123,11 @@ 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. + // 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. #[serde(default)] pub notify_exclude: Vec, }