From e46cac02e3ab58f27690fcbf2f34969ce1d2a63a 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 df5348b02c..950d1e3dd9 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 da44006392..c04bde9e67 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(