summaryrefslogtreecommitdiff
path: root/packages/client/src/scripts
diff options
context:
space:
mode:
authorJohann150 <johann.galle@protonmail.com>2022-06-24 12:44:22 +0200
committerJohann150 <johann.galle@protonmail.com>2022-06-24 12:44:22 +0200
commita5241379afa71381bf23b59f6e3066cb934b9fe8 (patch)
tree2349e5d026837f3ac7484557f56eb09686715c35 /packages/client/src/scripts
parentenhance: Redisをioredisに統一してIPv6サポート (#8869) (diff)
downloadsharkey-a5241379afa71381bf23b59f6e3066cb934b9fe8.tar.gz
sharkey-a5241379afa71381bf23b59f6e3066cb934b9fe8.tar.bz2
sharkey-a5241379afa71381bf23b59f6e3066cb934b9fe8.zip
fix lints
Diffstat (limited to 'packages/client/src/scripts')
-rw-r--r--packages/client/src/scripts/check-word-mute.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/scripts/check-word-mute.ts b/packages/client/src/scripts/check-word-mute.ts
index aafdd8920a..35d40a6e08 100644
--- a/packages/client/src/scripts/check-word-mute.ts
+++ b/packages/client/src/scripts/check-word-mute.ts
@@ -5,7 +5,7 @@ export function checkWordMute(note: Record<string, any>, me: Record<string, any>
if (mutedWords.length > 0) {
const text = ((note.cw ?? '') + '\n' + (note.text ?? '')).trim();
- if (text == '') return false;
+ if (text === '') return false;
const matched = mutedWords.some(filter => {
if (Array.isArray(filter)) {