make jl3 mod holes again

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-14 16:11:55 +02:00
parent b2927d7dfb
commit 42f0ce8844
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class User(Base):
@lazy
def mods(self, sub):
return bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none())
return self.admin_level > 2 or bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none())
@lazy
def exiled_from(self, sub):