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(