This commit is contained in:
Aevann1 2021-09-19 22:18:29 +02:00
parent 6b7ae51d61
commit dcbf6753e9
3 changed files with 12 additions and 12 deletions

View file

@ -533,14 +533,6 @@ class User(Base):
g.db.add(self)
def unban(self):
self.is_banned = 0
self.unban_utc = 0
g.db.add(self)
g.db.commit()
@property
@lazy