mirror of https://github.com/dirtbags/moth.git
If points are already claimed, mention the answer is correct.
This commit is contained in:
parent
e91911bd9f
commit
52918f7245
|
@ -237,7 +237,7 @@ cgi_fail(int err)
|
||||||
case ERR_NOTEAM:
|
case ERR_NOTEAM:
|
||||||
cgi_result(409, "No such team", "<p>There is no team with that hash.</p>");
|
cgi_result(409, "No such team", "<p>There is no team with that hash.</p>");
|
||||||
case ERR_CLAIMED:
|
case ERR_CLAIMED:
|
||||||
cgi_result(409, "Already claimed", "<p>Your team has already claimed these points.</p>");
|
cgi_result(409, "Already claimed", "<p>That is the correct answer, but your team has already claimed these points.</p>");
|
||||||
default:
|
default:
|
||||||
cgi_result(409, "Failure", "<p>Failure code: %d</p>", err);
|
cgi_result(409, "Failure", "<p>Failure code: %d</p>", err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue