This commit is contained in:
Aevann1 2021-09-17 10:55:55 +02:00
parent fdeb1e997b
commit 06669e9d4e
8 changed files with 32 additions and 40 deletions

View file

@ -92,15 +92,14 @@ def check_ban_evade(v):
g.db.add(ma)
except: pass
g.db.flush()
try: abort(403)
except Exception as e: print(e)
else:
v.ban_evade +=1
g.db.add(v)
g.db.flush()
g.db.commit()