diff --git a/files/classes/user.py b/files/classes/user.py index d47942518..d545ebc91 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -962,8 +962,6 @@ class User(Base): if user and user.id == other.author_id: return True if isinstance(other, Submission): if other.sub and not cls.can_see(user, other.subr): return False - if any(i in other.title.lower() for i in FORBIDDEN) and not (user and user.truescore > 100): - return False else: if other.parent_submission: if user and user.id == other.post.author_id: return True diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 9662f8598..281516820 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -54,7 +54,6 @@ FP = environ.get("FP", "").strip() KOFI_TOKEN = environ.get("KOFI_TOKEN", "").strip() KOFI_LINK = environ.get("KOFI_LINK", "").strip() PROGSTACK_MUL = float(environ.get("PROGSTACK_MUL", 2.0)) -FORBIDDEN = environ.get("FORBIDDEN", "").strip().split() ENCOURAGED = environ.get("ENCOURAGED", "").strip().split() ENCOURAGED2 = environ.get("ENCOURAGED2", "").strip().split()