diff options
Diffstat (limited to 'modules/commands/hs_set.cpp')
-rw-r--r-- | modules/commands/hs_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_set.cpp b/modules/commands/hs_set.cpp index 1a34266d7..b561c1e62 100644 --- a/modules/commands/hs_set.cpp +++ b/modules/commands/hs_set.cpp @@ -114,7 +114,7 @@ class CommandHSSetAll : public Command for (unsigned i = 0; i < na->nc->aliases->size(); ++i) { NickAlias *nick = na->nc->aliases->at(i); - if (nick) + if (nick && nick != na) nick->SetVhost(na->GetVhostIdent(), na->GetVhostHost(), na->GetVhostCreator()); } } |