Commit bce56655 authored by nanahira's avatar nanahira

Merge branch 'develop' of ../srvpro into develop

parents 5791ea07 0c1cfe8b
Pipeline #37868 passed with stages
in 13 minutes
...@@ -2280,7 +2280,7 @@ deck_name_match = global.deck_name_match = (deck_name, player_name) -> ...@@ -2280,7 +2280,7 @@ deck_name_match = global.deck_name_match = (deck_name, player_name) ->
# return true to cancel a synchronous message # return true to cancel a synchronous message
ygopro.ctos_follow 'EXTERNAL_ADDRESS', true, (buffer, info, client, server, datas)-> 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 if ip_uint == 0
return false return false
ip_parts = [ ip_parts = [
......
...@@ -3036,7 +3036,7 @@ ...@@ -3036,7 +3036,7 @@
// return true to cancel a synchronous message // return true to cancel a synchronous message
ygopro.ctos_follow('EXTERNAL_ADDRESS', true, function(buffer, info, client, server, datas) { ygopro.ctos_follow('EXTERNAL_ADDRESS', true, function(buffer, info, client, server, datas) {
var ip_parts, ip_uint, xff_ip; var ip_parts, ip_uint, xff_ip;
ip_uint = info.real_ip; ip_uint = buffer.readUInt32BE(0);
if (ip_uint === 0) { if (ip_uint === 0) {
return false; 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