Commit 34c1fccc authored by nanahira's avatar nanahira

js

parent 6eaaa647
Pipeline #13269 failed with stages
in 6 minutes and 19 seconds
...@@ -3310,12 +3310,14 @@ ...@@ -3310,12 +3310,14 @@
} }
}, async function(err, datas) { }, async function(err, datas) {
var create_room_name, found, k, match, ref2, ref3, room, user; var create_room_name, found, k, match, ref2, ref3, room, user;
if (client.closed) {
return;
}
if (err || !datas.participant_data || !datas.match_data) { if (err || !datas.participant_data || !datas.match_data) {
log.warn("Failed loading Challonge user info", err); log.warn("Failed loading Challonge user info", err);
ygopro.stoc_die(client, '${challonge_match_load_failed}'); if (!client.closed) {
ygopro.stoc_die(client, '${challonge_match_load_failed}');
}
return;
}
if (client.closed) {
return; return;
} }
found = false; found = 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