fd
This commit is contained in:
parent
44ce46513a
commit
0e1063c38c
3 changed files with 3 additions and 3 deletions
|
@ -260,7 +260,7 @@ class User(Base, Stndrd, Age_times):
|
|||
@property
|
||||
def banned_by(self):
|
||||
|
||||
if not self.is_banned: return None
|
||||
if not self.is_suspended: return None
|
||||
return g.db.query(User).filter_by(id=self.is_banned).first()
|
||||
|
||||
def has_badge(self, badgedef_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue