mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
oops
This commit is contained in:
parent
59a53d8f64
commit
a14a41b27c
@ -42,7 +42,7 @@ function checkWordMute(
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (new RegExp(regexp[1], regexp[2]).test(text)) return true;
|
if (new RE2(regexp[1], regexp[2]).test(text)) return true;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// This should never happen due to input sanitisation.
|
// This should never happen due to input sanitisation.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user