mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-17 02:31:16 -05:00
fix issue with VPN banlist evaluation
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user