fix prev commit

pull/138/head
Aevann 2023-03-06 20:07:55 +02:00
parent f36c5b50bc
commit ddb641f865
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ class User(Base):
@lazy
def mod_date(self, sub):
if self.admin_level >= PERMS['MODS_EVERY_HOLE']: return 0
if self.admin_level >= PERMS['MODS_EVERY_HOLE']: return 1
mod_ts = g.db.query(Mod.created_utc).filter_by(user_id=self.id, sub=sub).one_or_none()
if mod_ts is None: