standard replies: emit IRCv3 FAIL/WARN/NOTE for service errors, config-gated
All checks were successful
CI / check (push) Successful in 3m42s

This commit is contained in:
Jean Chevronnet 2026-07-17 02:53:48 +00:00
parent fcca7ac12b
commit 75c6537532
No known key found for this signature in database
8 changed files with 153 additions and 5 deletions

View file

@ -293,6 +293,11 @@ pub struct Server {
// startup. Default "#services"; empty leaves them out of any channel.
#[serde(default = "default_services_channel")]
pub services_channel: String,
// Emit IRCv3 standard replies (FAIL/WARN/NOTE) for service errors instead of
// plain notices. Needs m_services_stdrpl loaded on the ircd; off until then,
// otherwise the replies are dropped. Off = today's notice behaviour.
#[serde(default)]
pub standard_replies: bool,
}
fn default_services_channel() -> String {