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
|
|
@ -860,6 +860,7 @@ impl Engine {
|
|||
self.set_services_channel(cfg.server.services_channel.clone());
|
||||
self.set_standard_replies(cfg.server.standard_replies);
|
||||
self.set_log_channel(cfg.log.as_ref().map(|l| l.channel.clone()));
|
||||
self.db.set_notify_exclude(cfg.log.as_ref().map(|l| l.notify_exclude.clone()).unwrap_or_default());
|
||||
self.set_guest_nick(&cfg.server.guest_nick);
|
||||
if let Some(expire) = &cfg.expire {
|
||||
self.set_expiry(expire.account_ttl(), expire.channel_ttl(), expire.warn_ttl());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue