diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-03-04 10:36:10 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-03-04 10:36:10 +0000 |
| commit | db4f845fe78f82bca4bdb9e44cc785a5a3947d37 (patch) | |
| tree | 63f1b943fe2baa3f1fbfbabaa63bf805803b3e8c /modules/nickserv | |
| parent | d15ac93a8f5fb5c939807807be52108f7d49f8ed (diff) | |
Add NickAlias::GetVhostMask for getting the vident@vhost.
Diffstat (limited to 'modules/nickserv')
| -rw-r--r-- | modules/nickserv/ns_info.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/nickserv/ns_info.cpp b/modules/nickserv/ns_info.cpp index 33efbc24f..09769345c 100644 --- a/modules/nickserv/ns_info.cpp +++ b/modules/nickserv/ns_info.cpp @@ -102,12 +102,7 @@ public: if (show_hidden) { if (na->HasVhost()) - { - if (IRCD->CanSetVIdent && !na->GetVhostIdent().empty()) - info[_("VHost")] = na->GetVhostIdent() + "@" + na->GetVhostHost(); - else - info[_("VHost")] = na->GetVhostHost(); - } + info[_("VHost")] = na->GetVhostMask(); } FOREACH_MOD(OnNickInfo, (source, na, info, show_hidden)); |
