MatchMaking: Parse IP as signed integer

This commit is contained in:
Sketch 2023-11-05 17:57:58 -05:00
parent 5e122899cb
commit 53ce36c35b

View File

@ -133,7 +133,7 @@ func handleServerListRequest(conn net.Conn, buffer []byte) {
continue
}
ip, err := strconv.ParseUint(publicip, 10, 32)
ip, err := strconv.ParseInt(publicip, 10, 32)
if err != nil {
logging.Error(ModuleName, "Server has invalid public IP value:", aurora.Cyan(publicip))
}