forked from rDrama/rDrama
add more DELETE_ME_PLS
parent
c425a2af65
commit
20f47b92a2
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue