diff --git a/Plugins/ScriptPlugins/VPNDetection.js b/Plugins/ScriptPlugins/VPNDetection.js index 32dc4e6c8..33a32f140 100644 --- a/Plugins/ScriptPlugins/VPNDetection.js +++ b/Plugins/ScriptPlugins/VPNDetection.js @@ -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) { diff --git a/SharedLibraryCore/Configuration/ServerConfiguration.cs b/SharedLibraryCore/Configuration/ServerConfiguration.cs index 235740694..6b5a5bf9d 100644 --- a/SharedLibraryCore/Configuration/ServerConfiguration.cs +++ b/SharedLibraryCore/Configuration/ServerConfiguration.cs @@ -92,7 +92,7 @@ namespace SharedLibraryCore.Configuration } } - Port = Utilities.PromptInt(Utilities.PromptString(loc["SETUP_SERVER_PORT"]), null, 1, ushort.MaxValue); + Port = Utilities.PromptInt(loc["SETUP_SERVER_PORT"], null, 1, ushort.MaxValue); Password = Utilities.PromptString(loc["SETUP_SERVER_RCON"]); AutoMessages = new List(); Rules = new List();