standard replies: emit IRCv3 FAIL/WARN/NOTE for service errors, config-gated
All checks were successful
CI / check (push) Successful in 3m42s
All checks were successful
CI / check (push) Successful in 3m42s
This commit is contained in:
parent
fcca7ac12b
commit
75c6537532
8 changed files with 153 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue