mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Merge pull request #3617 from birarda/master
@birarda is dumb and bad at conditionals
This commit is contained in:
commit
8e047f2f9f
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ bool DomainServer::shouldAllowConnectionFromNode(const QString& username,
|
|||
|
||||
// we always let in a user who is sending a packet from our local socket or from the localhost address
|
||||
if (senderSockAddr.getAddress() == LimitedNodeList::getInstance()->getLocalSockAddr().getAddress()
|
||||
&& senderSockAddr.getAddress() == QHostAddress::LocalHost) {
|
||||
|| senderSockAddr.getAddress() == QHostAddress::LocalHost) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue