uk
This commit is contained in:
parent
10e49ef743
commit
4dfb788e07
14 changed files with 88 additions and 79 deletions
|
@ -154,7 +154,7 @@ class User(Base):
|
|||
|
||||
@lazy
|
||||
def mods(self, sub):
|
||||
return self.id == AEVANN_ID or bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none())
|
||||
return self.admin_level == 3 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…
Add table
Add a link
Reference in a new issue