This commit is contained in:
guimoz 2017-01-31 17:58:42 +01:00
parent ad76048126
commit 64bddad4b3

View file

@ -209,7 +209,7 @@ def ban(player_id, target_id, success):
where id=%i"""% (ban_end, banned_player['id']))
cur.execute("""insert into bans (player_id,target_id,success,time)
values %i,%i,%i,%f"""% (player['id'], target['id'], \
values (%i,%i,%i,%f)"""% (player['id'], target['id'], \
success and 1 or 0, time()))
con.commit()
con.close()