summaryrefslogtreecommitdiff
path: root/modules/commands/hs_group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_group.cpp')
-rw-r--r--modules/commands/hs_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_group.cpp b/modules/commands/hs_group.cpp
index f0d030c70..22538ed1a 100644
--- a/modules/commands/hs_group.cpp
+++ b/modules/commands/hs_group.cpp
@@ -38,7 +38,7 @@ class CommandHSGroup : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
NickAlias *na = findnick(source.GetNick());
- if (na && source.nc == na->nc && na->HasVhost())
+ if (na && source.GetAccount() == na->nc && na->HasVhost())
{
this->Sync(na);
if (!na->GetVhostIdent().empty())