diff options
Diffstat (limited to 'modules/hostserv/hs_set.cpp')
-rw-r--r-- | modules/hostserv/hs_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hostserv/hs_set.cpp b/modules/hostserv/hs_set.cpp index 16e4cebf9..55f562e00 100644 --- a/modules/hostserv/hs_set.cpp +++ b/modules/hostserv/hs_set.cpp @@ -112,7 +112,7 @@ class CommandHSSetAll final for (auto *nick : *na->nc->aliases) { - if (nick) + if (nick && nick != na) nick->SetVhost(na->GetVhostIdent(), na->GetVhostHost(), na->GetVhostCreator()); } } |