fix another dumb conditional mistake in domain-server

This commit is contained in:
Stephen Birarda 2014-10-17 11:07:02 -07:00
parent 9a842e2202
commit c89daa30da

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