docs: notify_exclude comments cover channel masks
All checks were successful
CI / check (push) Successful in 4m3s
All checks were successful
CI / check (push) Successful in 4m3s
This commit is contained in:
parent
29bedf0358
commit
2fb1970030
2 changed files with 11 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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<String>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue