about summary refs log tree commit diff
path: root/streaming
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-12-21 15:59:39 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-12-21 15:59:39 +0100
commitb248aa4d3eb52c2bb7459848ff09619bb8830ed7 (patch)
treeb40d2a4546fa42a0373127bf11cb06491a1d75f3 /streaming
parentba1569400322930ebe32693750b8e1abff395829 (diff)
parentc4a429ed47e85a6bbf0d470a41cc2f64cf120c19 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'streaming')
-rw-r--r--streaming/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js
index cecb53ed5..45ea26bd6 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -725,7 +725,7 @@ const startWorker = async (workerId) => {
 
             Object.keys(req.cachedFilters).forEach((key) => {
               req.cachedFilters[key].regexp = new RegExp(req.cachedFilters[key].keywords.map(([keyword, whole_word]) => {
-                let expr = keyword.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');;
+                let expr = keyword.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
 
                 if (whole_word) {
                   if (/^[\w]/.test(expr)) {