Commit 9b18d639 authored by nanahira's avatar nanahira

send arena in match permit check

parent 4ed0d2db
...@@ -1897,7 +1897,8 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server, datas)-> ...@@ -1897,7 +1897,8 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server, datas)->
json: true, json: true,
qs: qs:
username: client.name, username: client.name,
password: info.pass password: info.pass,
arena: settings.modules.arena_mode.mode
, (error, response, body)-> , (error, response, body)->
if client.closed if client.closed
return return
......
...@@ -2359,7 +2359,8 @@ ...@@ -2359,7 +2359,8 @@
json: true, json: true,
qs: { qs: {
username: client.name, username: client.name,
password: info.pass password: info.pass,
arena: settings.modules.arena_mode.mode
} }
}, function(error, response, body) { }, function(error, response, body) {
if (client.closed) { if (client.closed) {
......
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