JL3 no longer mod holes

master
Aevann1 2022-09-09 08:37:25 +02:00
parent a96535cbde
commit ff575c9eea
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class User(Base):
@lazy @lazy
def mods(self, sub): def mods(self, sub):
return self.admin_level == 3 or bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none()) return 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):