Commit 6034c32a authored by nanahira's avatar nanahira

fix

parent 4b872c75
......@@ -1910,7 +1910,7 @@ if settings.modules.http
response.writeHead(403)
response.end("Invalid password.")
return
else if settings.modules.tournament_mode.duel_log.size <= 0
else if !settings.modules.tournament_mode.duel_log.size
response.writeHead(403)
response.end("Duel logs not found.")
return
......
......@@ -2413,7 +2413,7 @@
response.writeHead(403);
response.end("Invalid password.");
return;
} else if (settings.modules.tournament_mode.duel_log.size <= 0) {
} else if (!settings.modules.tournament_mode.duel_log.size) {
response.writeHead(403);
response.end("Duel logs not found.");
return;
......
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