forked from rDrama/rDrama
1
0
Fork 0

exclude me from modaction notifs on all sites

master
Aevann1 2022-08-15 08:24:31 +02:00
parent 9dac94cf8e
commit b033b518b8
1 changed files with 1 additions and 1 deletions

View File

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