exclude merari and permabanned/shadowbanned from chudrama
parent
78738589b5
commit
0f4de38141
|
@ -977,6 +977,9 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def can_see_chudrama(self):
|
def can_see_chudrama(self):
|
||||||
|
if self.id == 2074: return False
|
||||||
|
if self.shadowbanned: return False
|
||||||
|
if self.is_suspended_permanently: return False
|
||||||
if self.admin_level >= PERMS['VIEW_CHUDRAMA']: return True
|
if self.admin_level >= PERMS['VIEW_CHUDRAMA']: return True
|
||||||
if self.client: return True
|
if self.client: return True
|
||||||
if self.truescore >= TRUESCORE_CHUDRAMA_MINIMUM: return True
|
if self.truescore >= TRUESCORE_CHUDRAMA_MINIMUM: return True
|
||||||
|
|
Loading…
Reference in New Issue