services: all pseudo-clients join a configurable channel (default #services)
All checks were successful
CI / check (push) Successful in 3m39s

This commit is contained in:
Jean Chevronnet 2026-07-17 01:23:18 +00:00
parent 657154e268
commit f2774f13fe
No known key found for this signature in database
3 changed files with 25 additions and 3 deletions

View file

@ -289,6 +289,14 @@ pub struct Server {
// "is a <this>". Default "Network Service". Empty leaves them non-opers.
#[serde(default = "default_service_oper_type")]
pub service_oper_type: String,
// Channel every service pseudo-client (NickServ, ChanServ, …) joins at
// startup. Default "#services"; empty leaves them out of any channel.
#[serde(default = "default_services_channel")]
pub services_channel: String,
}
fn default_services_channel() -> String {
"#services".to_string()
}
fn default_service_modes() -> String {