XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix: setGuildMotd response for U29.3.1 (#2851)

Unsure which version introduced long descriptions exactly, but it surely wasn't this one. :^) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2851 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

b14a5925
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/controllers/api/setGuildMotdController.ts +1 -1
@@ -57,7 +57,7 @@ export const setGuildMotdController: RequestHandler = async (req, res) => {
57 57 await guild.save();
58 58 }
59 59
60 if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.03.24.20.24") > 0) {
60 if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.11.04.18.58") > 0) {
61 61 res.json({ IsLongMOTD, MOTD });
62 62 } else {
63 63 res.send(MOTD).end();