From 1a8ae513b43d6f5ab5f83740c73d018eafb44d9a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 4 Mar 2024 10:36:10 +0000 Subject: Add NickAlias::GetVhostMask for getting the vident@vhost. --- modules/nickserv/ns_info.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'modules/nickserv') 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)); -- cgit