File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -163,21 +163,8 @@ func (g *GameSpySession) bestieMessage(command common.GameSpyCommand) {
163163 }
164164
165165 if cmd == common .MatchReservation {
166- if common .IPFormatNoPortToInt (g .RemoteAddr ) != int32 (msgMatchData .Reservation .PublicIP ) {
167- logging .Error (g .ModuleName , "RESERVATION: Public IP mismatch" )
168- g .replyError (ErrMessage )
169- return
170- }
171-
172166 g .QR2IP = uint64 (msgMatchData .Reservation .PublicIP ) | (uint64 (msgMatchData .Reservation .PublicPort ) << 32 )
173-
174167 } else if cmd == common .MatchResvOK {
175- if common .IPFormatNoPortToInt (g .RemoteAddr ) != int32 (msgMatchData .ResvOK .PublicIP ) {
176- logging .Error (g .ModuleName , "RESV_OK: Public IP mismatch" )
177- g .replyError (ErrMessage )
178- return
179- }
180-
181168 g .QR2IP = uint64 (msgMatchData .ResvOK .PublicIP ) | (uint64 (msgMatchData .ResvOK .PublicPort ) << 32 )
182169 }
183170
You can’t perform that action at this time.
0 commit comments