From 4a7166625f8598abedfd46b6e86e7522916b3108 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 27 Jul 2022 09:47:29 -0700 Subject: [PATCH] clean up --- packages/backend/src/server/web/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/src/server/web/index.ts b/packages/backend/src/server/web/index.ts index 58d1410412..161f8a473b 100644 --- a/packages/backend/src/server/web/index.ts +++ b/packages/backend/src/server/web/index.ts @@ -527,8 +527,7 @@ router.get('/streaming', async ctx => { router.get('(.*)', async ctx => { const meta = await fetchMeta(); let motd = ['Loading...']; - // Check if meta.MOTD exists and is at least 1 in length - if (meta.customMOTD && meta.customMOTD.length > 0) { + if (meta.customMOTD.length > 0) { motd = meta.customMOTD; } await ctx.render('base', {