customprefix: config-override channel-prefix sigils per tier (customprefix = <tier> <sigil>); PREFIX/NAMES/FJOIN consistent

This commit is contained in:
Jean Chevronnet 2026-08-11 19:01:45 +00:00
parent b4186ae08d
commit 749a1c3b69
6 changed files with 93 additions and 29 deletions

View file

@ -1434,14 +1434,8 @@ fn split_member(tok: &str) -> (String, String) {
/// Map a prefix char to its mode letter (`@` → `o`, …).
fn prefix_letter(c: char) -> char {
match c {
'~' => 'q',
'&' => 'a',
'@' => 'o',
'%' => 'h',
'+' => 'v',
_ => ' ',
}
// config-overridable sigils (customprefix); a linked network shares this config
crate::modules::customprefix::letter_for_sigil(c)
}
#[cfg(test)]