summaryrefslogtreecommitdiff
path: root/modules/nickserv/ns_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nickserv/ns_info.cpp')
-rw-r--r--modules/nickserv/ns_info.cpp7
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));