From ffe1faa8cd1449e83f194d4438b3ca01ea881008 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 2 Aug 2023 01:08:29 +0300 Subject: [PATCH] remove [patrons] and [paypigs] since i can just use /h/highrollerclub now --- files/classes/user.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 2268b18da..2402a32ec 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -1094,8 +1094,6 @@ class User(Base): if not cls.can_see(user, other.author): return False if user and user.id == other.author_id: return True if isinstance(other, Post): - if not (user and user.patron) and (other.title.lower().startswith('[paypigs]') or other.title.lower().startswith('[patrons]')): - return False if other.sub and not cls.can_see(user, other.subr): return False if request.headers.get("Cf-Ipcountry") == 'NZ':