aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-08 19:52:18 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-08 19:52:18 -0500
commita9b27cc0a23d397e9bf88c0d34ce02e5f7fbe377 (patch)
treebcd495b91968ac110628dbd6d08d38b43f8920f5 /src/lib
parentddf4b4353e332c7c05ee8f5b981451043fcf204c (diff)
downloadtanzanite-a9b27cc0a23d397e9bf88c0d34ce02e5f7fbe377.tar.gz
tanzanite-a9b27cc0a23d397e9bf88c0d34ce02e5f7fbe377.tar.bz2
tanzanite-a9b27cc0a23d397e9bf88c0d34ce02e5f7fbe377.zip
fix(automod): don't ignore spaces for bad links
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/common/AutoMod.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/common/AutoMod.ts b/src/lib/common/AutoMod.ts
index 2633e1a..784085d 100644
--- a/src/lib/common/AutoMod.ts
+++ b/src/lib/common/AutoMod.ts
@@ -52,7 +52,7 @@ export class AutoMod {
const badLinks: BadWordDetails[] = uniqueLinks.map((link) => ({
match: link,
severity: Severity.PERM_MUTE,
- ignoreSpaces: true,
+ ignoreSpaces: false,
ignoreCapitalization: true,
reason: 'malicious link',
regex: false