no racing

This commit is contained in:
ed
2026-01-21 03:19:41 +00:00
parent b4df8fa23c
commit ba67b27946

View File

@@ -997,8 +997,8 @@ class HttpCli(object):
rt = bans[ip] - time.time()
if rt < 0:
self.log("client unbanned", 3)
del bans[ip]
self.log("client unbanned", 3)
return False
self.log("banned for {:.0f} sec".format(rt), 6)