Commit 05b138a5 authored by nanahira's avatar nanahira

fix

parent 32e00712
......@@ -1931,10 +1931,6 @@ if settings.modules.http
response.writeHead(403)
response.end("Invalid password.")
return
else if !settings.modules.tournament_mode.duel_log.size
response.writeHead(403)
response.end("Duel logs not found.")
return
else
try
archive_name = moment().format('YYYY-MM-DD HH:mm:ss') + ".zip"
......
......@@ -2439,10 +2439,6 @@
response.writeHead(403);
response.end("Invalid password.");
return;
} else if (!settings.modules.tournament_mode.duel_log.size) {
response.writeHead(403);
response.end("Duel logs not found.");
return;
} else {
try {
archive_name = moment().format('YYYY-MM-DD HH:mm:ss') + ".zip";
......
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