From ef97f99b597200f5b300b0a43eb366d8534e1657 Mon Sep 17 00:00:00 2001 From: Canna Wen Date: Wed, 20 Sep 2017 22:39:16 +0200 Subject: [PATCH] Fix global ignore list --- src/conversion_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conversion_helper.js b/src/conversion_helper.js index 872848c..b2fa006 100644 --- a/src/conversion_helper.js +++ b/src/conversion_helper.js @@ -151,7 +151,7 @@ const globalIgnore = ["kill", "suicide", "death", "die", "depression", "crisis", "ass", "anus", "anal", "butt", "tit", "kink", "bdsm", "blow job", "jizz", "cum", "nsfw", "gonewild", "sex", "glory hole", "cuck", "porn", "incest", "piv", "milf"] -function shouldConvertComment(comment, regexArray) { +function shouldConvertComment(comment, regexArray = globalIgnore) { const input = comment['body']; const postTitle = comment['postTitle']; const subreddit = comment['subreddit'];