From 467575801b9da11d659faf11ca038e6d396a2c0f Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 5 May 2023 05:22:32 +0900 Subject: [PATCH] Fix missing return, typo --- packages/backend/src/misc/check-word-mute.ts | 2 +- packages/client/src/scripts/check-word-mute.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/misc/check-word-mute.ts b/packages/backend/src/misc/check-word-mute.ts index df5348b02..950d1e3dd 100644 --- a/packages/backend/src/misc/check-word-mute.ts +++ b/packages/backend/src/misc/check-word-mute.ts @@ -56,7 +56,7 @@ function checkWordMute( } } - return notMuted; + return NotMuted; } export async function getWordHardMute( diff --git a/packages/client/src/scripts/check-word-mute.ts b/packages/client/src/scripts/check-word-mute.ts index da4400639..c04bde9e6 100644 --- a/packages/client/src/scripts/check-word-mute.ts +++ b/packages/client/src/scripts/check-word-mute.ts @@ -47,6 +47,8 @@ function checkWordMute( // This should never happen due to input sanitisation. } } + + return NotMuted; } export function getWordSoftMute(