fix issue with VPN banlist evaluation

This commit is contained in:
RaidMax 2022-05-22 18:04:23 -05:00
parent 1700b7da91
commit 2230036d45

View File

@ -29,7 +29,7 @@ const plugin = {
let exempt = false;
// prevent players that are exempt from being kicked
vpnExceptionIds.forEach(function (id) {
if (id === origin.ClientId) {
if (id == origin.ClientId) { // when loaded from the config the "id" type is not the same as the ClientId type
exempt = true;
return false;
}