From b033b518b815617dfe7410d1cfe030d95124f5ca Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 15 Aug 2022 08:24:31 +0200 Subject: [PATCH] exclude me from modaction notifs on all sites --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index 6aede101b..a116e954b 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -440,7 +440,7 @@ class User(Base): @property @lazy def modaction_num(self): - if self.admin_level < 2 or (self.id == AEVANN_ID and SITE_NAME != 'rDrama'): return 0 + if self.admin_level < 2 or self.id == AEVANN_ID: return 0 return g.db.query(ModAction).filter_by(user_id=self.id).count() @property