fix extra prompt for server port

change vpn detection failure to warning instead of error
This commit is contained in:
RaidMax
2019-04-18 14:19:50 -05:00
parent 934fead5c2
commit 18f4ffa9ff
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
var plugin = {
author: 'RaidMax',
version: 1.0,
version: 1.1,
name: 'VPN Detection Plugin',
manager: null,
@ -33,7 +33,7 @@ var plugin = {
cl.Dispose();
usingVPN = parsedJSON.success && parsedJSON.proxy;
} catch (e) {
this.logger.WriteError(e.message);
this.logger.WriteWarning('There was a problem checking client IP for VPN ' + e.message);
}
if (usingVPN) {