From 5fff084fe7b3ebb2c9786246767e470dcddfeaa9 Mon Sep 17 00:00:00 2001 From: Alys Date: Sat, 20 Feb 2021 13:16:04 +1000 Subject: [PATCH] adjusted banned slurs - TRIGGER / CONTENT WARNING: slurs, swearwords, assault, etc This deletes two swear words that were causing trouble for French speakers (they mean "delay" or "late"). It also puts English variants of those words back to the list of slurs (IIRC, previously the base words were in that list but were moved to swears because of the French issue). --- website/server/libs/bannedSlurs.js | 8 +++++--- website/server/libs/bannedWords.js | 2 -- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/server/libs/bannedSlurs.js b/website/server/libs/bannedSlurs.js index 19198af14e..5dcdeb669c 100644 --- a/website/server/libs/bannedSlurs.js +++ b/website/server/libs/bannedSlurs.js @@ -82,9 +82,9 @@ // See the comments in bannedWords.js for details. // 'spic' should not be banned because it's often used in the phrase "spic and span" -// 'tards' is currently not in this list because it's causing a problem for French speakers -// - it's commonly used within French words after an accented 'e' which -// the word blocker's regular expression treats as a word boundary +// 'retard', 'retards', and 'tards' are not treated as slurs or swear words because +// they mean "delay" in French and have no easy synoyms ('tards' is commonly used within +// words after an accented 'e' which the blocker's regular expression treats as a word boundary) // DO NOT EDIT! See the comments at the top of this file. @@ -103,6 +103,8 @@ const bannedSlurs = [ 'fags', 'faggot', 'faggots', + 'a retard', + 'retarded', 'sodomite', 'sodomites', 'whore', diff --git a/website/server/libs/bannedWords.js b/website/server/libs/bannedWords.js index 3a66849c6b..318c3dbde6 100644 --- a/website/server/libs/bannedWords.js +++ b/website/server/libs/bannedWords.js @@ -156,8 +156,6 @@ const bannedWords = [ 'sluts', 'nigga', 'niggas', - 'retard', - 'retards', 'bastard', 'bastards',