projects
/
rainny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c51ba96
)
Fix additional spam string matching (#2339)
author
Krishan
<33421343+kfiven@users.noreply.github.com>
Sun, 25 May 2025 10:21:19 +0000
(15:51 +0530)
committer
GitHub
<noreply@github.com>
Sun, 25 May 2025 10:21:19 +0000
(15:51 +0530)
src/app/plugins/bad-words.ts
patch
|
blob
|
history
diff --git
a/src/app/plugins/bad-words.ts
b/src/app/plugins/bad-words.ts
index a7ca468f3911cee1b8436062d6571167aa73d542..bb6073d8a2a9747edff88cf77b4f61bf2e738e75 100644
(file)
--- a/
src/app/plugins/bad-words.ts
+++ b/
src/app/plugins/bad-words.ts
@@
-1,7
+1,7
@@
import * as badWords from 'badwords-list';
import { sanitizeForRegex } from '../utils/regex';
-const additionalBadWords: string[] = ['
Torture', 'T
0rture'];
+const additionalBadWords: string[] = ['
torture', 't
0rture'];
const fullBadWordList = additionalBadWords.concat(
badWords.array.filter((word) => !additionalBadWords.includes(word))