services: all pseudo-clients join a configurable channel (default #services)
All checks were successful
CI / check (push) Successful in 3m39s
All checks were successful
CI / check (push) Successful in 3m39s
This commit is contained in:
parent
657154e268
commit
f2774f13fe
3 changed files with 25 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue