forked from rDrama/rDrama
1
0
Fork 0
Aevann 2023-06-08 04:27:12 +03:00
parent 75dca8f788
commit fb42139f8c
1 changed files with 5 additions and 2 deletions

View File

@ -1031,8 +1031,11 @@ class User(Base):
return False
if other.sub and not cls.can_see(user, other.subr):
return False
if 'christchurch' in other.title.lower() and request.headers.get("Cf-Ipcountry") == 'NZ':
return False
if request.headers.get("Cf-Ipcountry") == 'NZ':
if 'christchurch' in other.title.lower():
return False
if SITE == 'watchpeopledie.tv' and other.id == 5:
return False
else:
if other.parent_submission:
return cls.can_see(user, other.post)