Merge pull request #3617 from birarda/master

@birarda is dumb and bad at conditionals
This commit is contained in:
Stephen Birarda 2014-10-17 11:07:24 -07:00
commit 8e047f2f9f

View file

@ -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;
}