fix issue with VPN banlist evaluation
This commit is contained in:
parent
1700b7da91
commit
2230036d45
@ -29,7 +29,7 @@ const plugin = {
|
|||||||
let exempt = false;
|
let exempt = false;
|
||||||
// prevent players that are exempt from being kicked
|
// prevent players that are exempt from being kicked
|
||||||
vpnExceptionIds.forEach(function (id) {
|
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;
|
exempt = true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user