This changes the behaviour of connection handling, so that player bans are checked before lockdown is handled. This is to assist with banning trolls with VPNs and Alt lists and making the ban visible to the troll even while the lockdown is in place.
Previously we thought we would want to keep their ban hidden so they don't try other accounts, but it turns out we are more easily able to catch different alts/IPs if the attacker sees a ban message.
Also, did a slight code improvement on ban check (no need to have a banned boolean, just checks if the event got cancelled).
This changes the behaviour of connection handling, so that player bans are checked before lockdown is handled. This is to assist with banning trolls with VPNs and Alt lists and making the ban visible to the troll even while the lockdown is in place.
Previously we thought we would want to keep their ban hidden so they don't try other accounts, but it turns out we are more easily able to catch different alts/IPs if the attacker sees a ban message.
Also, did a slight code improvement on ban check (no need to have a
banned
boolean, just checks if the event got cancelled).