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/hostserv/hs_group.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/hostserv/hs_group.cpp') diff --git a/modules/hostserv/hs_group.cpp b/modules/hostserv/hs_group.cpp index 9db0bbb00..2877fa16d 100644 --- a/modules/hostserv/hs_group.cpp +++ b/modules/hostserv/hs_group.cpp @@ -54,10 +54,8 @@ public: if (na && source.GetAccount() == na->nc && na->HasVhost()) { this->Sync(na); - if (!na->GetVhostIdent().empty()) - source.Reply(_("All vhosts in the group \002%s\002 have been set to \002%s\002@\002%s\002."), source.nc->display.c_str(), na->GetVhostIdent().c_str(), na->GetVhostHost().c_str()); - else - source.Reply(_("All vhosts in the group \002%s\002 have been set to \002%s\002."), source.nc->display.c_str(), na->GetVhostHost().c_str()); + source.Reply(_("All vhosts in the group \002%s\002 have been set to \002%s\002."), + source.nc->display.c_str(), na->GetVhostMask().c_str()); } else source.Reply(HOST_NOT_ASSIGNED); -- cgit