forked from rDrama/rDrama
1
0
Fork 0

disable ghost threads in WPD

master
Aevann1 2022-12-08 07:14:50 +02:00
parent 05691b980d
commit 0a915aae08
1 changed files with 1 additions and 0 deletions

View File

@ -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