forked from rDrama/rDrama
1
0
Fork 0

add more DELETE_ME_PLS

master
Aevann 2024-02-17 14:33:01 +02:00
parent c425a2af65
commit 20f47b92a2
2 changed files with 2 additions and 0 deletions

View File

@ -272,6 +272,7 @@ class Post(Base):
if self.distinguished and SITE_NAME == 'WPD':
return 0
#DELETE_ME_PLS
if not v and kind == "ricardo":
return 0

View File

@ -9,6 +9,7 @@ words_to_hide = ('israel', 'isreal', 'palestin', 'muslim', 'islam', 'hamas', 'je
def can_see(user, other):
if isinstance(other, (Post, Comment)):
#DELETE_ME_PLS
if not user:
if other.nsfw:
return False