fix all-seeing eye award and exempt carp

master
Aevann 2024-07-22 21:37:27 +03:00
parent 2be385abbe
commit f67017c3ee
1 changed files with 2 additions and 1 deletions

View File

@ -1007,7 +1007,8 @@ class User(Base):
if not self.is_private: return True
if not user: return False
if self.id == user.id: return True
return user.admin_level >= PERMS['VIEW_PRIVATE_PROFILES'] or (user.eye and SITE != 'rdrama.net') #to stop the doxing, if u see this, pls dont tell anyone
if SITE_NAME == 'rDrama' and self.id == CARP_ID: return False
return user.admin_level >= PERMS['VIEW_PRIVATE_PROFILES'] or user.eye
@property
@lazy