Commit 0c1cfe8b authored by nanahira's avatar nanahira

fix

parent fabb6e86
......@@ -2070,7 +2070,7 @@ deck_name_match = global.deck_name_match = (deck_name, player_name) ->
# return true to cancel a synchronous message
ygopro.ctos_follow 'EXTERNAL_ADDRESS', true, (buffer, info, client, server, datas)->
ip_uint = info.real_ip
ip_uint = buffer.readUInt32BE(0)
if ip_uint == 0
return false
ip_parts = [
......
......@@ -2776,7 +2776,7 @@
// return true to cancel a synchronous message
ygopro.ctos_follow('EXTERNAL_ADDRESS', true, function(buffer, info, client, server, datas) {
var ip_parts, ip_uint, xff_ip;
ip_uint = info.real_ip;
ip_uint = buffer.readUInt32BE(0);
if (ip_uint === 0) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment