diff options
Diffstat (limited to 'modules/commands/ns_info.cpp')
-rw-r--r-- | modules/commands/ns_info.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/ns_info.cpp b/modules/commands/ns_info.cpp index 065762f8b..514757037 100644 --- a/modules/commands/ns_info.cpp +++ b/modules/commands/ns_info.cpp @@ -101,12 +101,12 @@ class CommandNSInfo : public Command if (show_hidden) { - if (na->hostinfo.HasVhost()) + if (na->HasVhost()) { - if (ircd->vident && !na->hostinfo.GetIdent().empty()) - info[_("VHost")] = na->hostinfo.GetIdent() + "@" + na->hostinfo.GetHost(); + if (ircd->vident && !na->GetVhostIdent().empty()) + info[_("VHost")] = na->GetVhostIdent() + "@" + na->GetVhostHost(); else - info[_("VHost")] = na->hostinfo.GetHost(); + info[_("VHost")] = na->GetVhostHost(); } if (!na->nc->greet.empty()) |