diff --git a/files/classes/user.py b/files/classes/user.py index 7bae16015..e2bbc198e 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: return 0 + if self.admin_level < 2: return 0 return g.db.query(ModAction).filter_by(user_id=self.id).count() @property @@ -493,7 +493,7 @@ class User(Base): @property @lazy def modaction_notifications_count(self): - if not self.admin_level: return 0 + if not self.admin_level or self.id == AEVANN_ID: return 0 return g.db.query(ModAction).filter( ModAction.created_utc > self.last_viewed_log_notifs, ModAction.user_id != self.id,