services: label as network service in whois
All checks were successful
CI / check (push) Successful in 3m44s

This commit is contained in:
Jean Chevronnet 2026-07-17 00:30:51 +00:00
parent 952078aa7e
commit b87a0c56a2
No known key found for this signature in database
5 changed files with 29 additions and 1 deletions

View file

@ -285,10 +285,18 @@ pub struct Server {
// services server U-lined), bot, block-CTCP. Set per the ircd's loaded modules.
#[serde(default = "default_service_modes")]
pub service_modes: String,
// Oper type the service pseudo-clients are flagged with, so WHOIS shows
// "is a <this>". Default "Network Service". Empty leaves them non-opers.
#[serde(default = "default_service_oper_type")]
pub service_oper_type: String,
}
fn default_service_modes() -> String {
"iHkBT".to_string()
"ikBT".to_string()
}
fn default_service_oper_type() -> String {
"Network Service".to_string()
}
fn default_protocol() -> u32 {