make jl3 mod holes again

master
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 @lazy
def mods(self, sub): 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 @lazy
def exiled_from(self, sub): def exiled_from(self, sub):