forked from MarseyWorld/MarseyWorld
make jl3 mod holes again
parent
b2927d7dfb
commit
42f0ce8844
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue