modules: port customtitle (TITLE vanity-title command + WHOIS line + vhost)
This commit is contained in:
parent
e7976a76d3
commit
aa384d56f2
3 changed files with 93 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue