Issues when deleting blocked ip without clearing logs
lucabartoli opened this issue · 1 comments
lucabartoli commented
If someone unblock an ip without clearing all logs, the block counter doesn't work anymore, as it checks for neq only.
This could also lead to some issues created by many concurrent requests (not tested).
I think it's simply safer to check for "less than" instead of "not equal to".
denisdulici commented
Feel free to send a PR.