modules: port customtitle (TITLE vanity-title command + WHOIS line + vhost)

This commit is contained in:
Jean Chevronnet 2026-08-09 20:13:07 +00:00
parent e7976a76d3
commit aa384d56f2
3 changed files with 93 additions and 0 deletions

View file

@ -253,6 +253,10 @@ impl Command for Whois {
if let Some(line) = crate::modules::profilelink::line(s, &account) {
s.numeric(uid, RPL_WHOISSPECIAL, &format!(":{line}"));
}
// customtitle: a claimed vanity title
if let Some(line) = crate::modules::customtitle::line(s, tuid) {
s.numeric(uid, RPL_WHOISSPECIAL, &format!(":{line}"));
}
// whoisport: the listener port — opers only
if asker_oper {
if let Some(line) = crate::modules::whoisport::line(s, tuid) {