From 0a915aae08372b6dd9b2bf28d8f9f7b38ea66ca4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 8 Dec 2022 07:14:50 +0200 Subject: [PATCH] disable ghost threads in WPD --- files/classes/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/classes/user.py b/files/classes/user.py index 2d8d0c7476..cdf33f36b6 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -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