QR2: Remove incorrect check in RESERVATION

This commit is contained in:
mkwcat
2024-01-05 20:24:47 -05:00
parent c5d9628b5b
commit d3ff0c3e5a

View File

@@ -128,12 +128,6 @@ func SendClientMessage(senderIP string, destSearchID uint64, message []byte) {
}
if message[8] == common.MatchReservation {
if matchData.Reservation.MatchType == 3 {
// TODO: Check that this is correct
logging.Error(moduleName, "RESERVATION: Attempt to join a private room over ServerBrowser")
return
}
if matchData.Reservation.HasPublicIP {
if qr2IP != matchData.Reservation.PublicIP {
logging.Error(moduleName, "RESERVATION: Public IP mismatch in header and command")