summaryrefslogtreecommitdiff
path: root/modules/hostserv/hs_group.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-04 10:36:10 +0000
committerSadie Powell <sadie@witchery.services>2024-03-04 10:36:10 +0000
commitdb4f845fe78f82bca4bdb9e44cc785a5a3947d37 (patch)
tree63f1b943fe2baa3f1fbfbabaa63bf805803b3e8c /modules/hostserv/hs_group.cpp
parentd15ac93a8f5fb5c939807807be52108f7d49f8ed (diff)
Add NickAlias::GetVhostMask for getting the vident@vhost.
Diffstat (limited to 'modules/hostserv/hs_group.cpp')
-rw-r--r--modules/hostserv/hs_group.cpp6
1 files changed, 2 insertions, 4 deletions
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);