ref: 4936afe52154c847c7c3cbfcdea019f191a789df
parent: c07247b02f53a78a315a2c402dc7d39fc3284ae7
author: zamfofex <zamfofex@twdb.moe>
date: Tue Nov 14 07:37:52 EST 2023
allow classical games again
--- a/tools/lichess.c
+++ b/tools/lichess.c
@@ -771,7 +771,7 @@
speed = cJSON_GetObjectItem(challenge, "speed");
if (!cJSON_IsString(speed)) moonfish_json_error(argv0);
- if (!strcmp(speed->valuestring, "classical") || !strcmp(speed->valuestring, "correspondence"))
+ if (!strcmp(speed->valuestring, "correspondence"))
{snprintf(line, sizeof line, "POST /api/challenge/%s/decline", id->valuestring);
if (moonfish_basic_request(argv0, name, port, token, line, "", "reason=tooSlow"))
--
⑨