summaryrefslogtreecommitdiff
path: root/modules/hostserv/hs_group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hostserv/hs_group.cpp')
-rw-r--r--modules/hostserv/hs_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hostserv/hs_group.cpp b/modules/hostserv/hs_group.cpp
index 2877fa16d..d28f00f7c 100644
--- a/modules/hostserv/hs_group.cpp
+++ b/modules/hostserv/hs_group.cpp
@@ -28,7 +28,7 @@ public:
setting = true;
for (auto *nick : *na->nc->aliases)
{
- if (nick)
+ if (nick && nick != na)
{
nick->SetVhost(na->GetVhostIdent(), na->GetVhostHost(), na->GetVhostCreator());
FOREACH_MOD(OnSetVhost, (nick));