mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
Cleanup after rebase
This commit is contained in:
parent
d067ba7dcc
commit
1175752e1d
1 changed files with 2 additions and 1 deletions
|
@ -796,7 +796,8 @@ void DomainServerSettingsManager::processUsernameFromIDRequestPacket(QSharedPoin
|
|||
bool isAdmin = matchingNode->getCanKick();
|
||||
|
||||
// Check if the sending node has permission to kick (is an admin)
|
||||
if (sendingNode->getCanKick()) {
|
||||
// OR if the message is from a node whose UUID matches the one in the packet
|
||||
if (sendingNode->getCanKick() || nodeUUID == sendingNode->getUUID()) {
|
||||
// It's time to figure out the username
|
||||
QString verifiedUsername = matchingNode->getPermissions().getVerifiedUserName();
|
||||
|
||||
|
|
Loading…
Reference in a new issue