forked from rDrama/rDrama
disable ghost threads in WPD
parent
05691b980d
commit
0a915aae08
|
@ -1070,6 +1070,7 @@ class User(Base):
|
|||
@property
|
||||
@lazy
|
||||
def can_post_in_ghost_threads(self):
|
||||
if SITE_NAME == 'WPD': return False
|
||||
if not TRUESCORE_GHOST_MINIMUM: return True
|
||||
if self.admin_level >= PERMS['POST_IN_GHOST_THREADS']: return True
|
||||
if self.truescore >= TRUESCORE_GHOST_MINIMUM: return True
|
||||
|
|
Loading…
Reference in New Issue