exclude me from modaction notifs on offsites

master
Aevann1 2022-08-15 08:09:33 +02:00
parent ce0d94f7b3
commit 8ef20b2427
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ class User(Base):
@property @property
@lazy @lazy
def modaction_num(self): def modaction_num(self):
if self.admin_level < 2: return 0 if self.admin_level < 2 or (self.id == AEVANN_ID and SITE_NAME != 'rDrama'): return 0
return g.db.query(ModAction).filter_by(user_id=self.id).count() return g.db.query(ModAction).filter_by(user_id=self.id).count()
@property @property