Commit b4f1ca43 authored by nanahira's avatar nanahira

fix

parent 6bc66527
...@@ -2094,7 +2094,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server, datas)-> ...@@ -2094,7 +2094,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server, datas)->
done(null, null) done(null, null)
return return
if !error and body if !error and body
done(null, boddy) done(null, body)
else else
log.warn("Match permit request error", error) log.warn("Match permit request error", error)
match_permit_callback(null, null) match_permit_callback(null, null)
......
...@@ -2628,7 +2628,7 @@ ...@@ -2628,7 +2628,7 @@
return; return;
} }
if (!error && body) { if (!error && body) {
done(null, boddy); done(null, body);
} else { } else {
log.warn("Match permit request error", error); log.warn("Match permit request error", error);
match_permit_callback(null, null); match_permit_callback(null, null);
......
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