mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fix a typo in shouldReplicateNode
This commit is contained in:
parent
67113330b3
commit
54832d995d
1 changed files with 1 additions and 1 deletions
|
@ -2252,7 +2252,7 @@ void DomainServer::updateReplicatedNodes() {
|
|||
|
||||
bool DomainServer::shouldReplicateNode(const Node& node) {
|
||||
QString verifiedUsername = node.getPermissions().getVerifiedUserName();
|
||||
// Both he verified username and usernames in _replicatedUsernames are lowercase, so
|
||||
// Both the verified username and usernames in _replicatedUsernames are lowercase, so
|
||||
// comparisons here are case-insensitive.
|
||||
auto it = find(_replicatedUsernames.cbegin(), _replicatedUsernames.cend(), verifiedUsername);
|
||||
return it != _replicatedUsernames.end() && node.getType() == NodeType::Agent;
|
||||
|
|
Loading…
Reference in a new issue