operserv: NOTIFY honours a config exclude list so relay/pylinked clients cannot flood the feed
This commit is contained in:
parent
c415117ec5
commit
8f19a94928
8 changed files with 43 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue