Commit afa34bbd authored by Grigory Trenin's avatar Grigory Trenin Committed by Nikos Mavrogiannopoulos
Browse files

Fix ban score reset logic



The previous condition for resetting a ban score was insufficient.
It failed to reset the score for a client that had just exited a ban,
and also incorrectly reset the score of a currently banned client,
causing premature unbans.

Closes: #678

Signed-off-by: default avatarGrigory Trenin <grigory.trenin@gmail.com>
parent d15b2af4
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment