From d0d670f1a50140cf3e269b3559c3534aa6d78150 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 19 Mar 2016 11:48:51 +0100 Subject: [PATCH] Add warning for invalid protocols --- ArchiSteamFarm/GlobalConfig.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ArchiSteamFarm/GlobalConfig.cs b/ArchiSteamFarm/GlobalConfig.cs index b4415cde90307..b93ba05189c58 100644 --- a/ArchiSteamFarm/GlobalConfig.cs +++ b/ArchiSteamFarm/GlobalConfig.cs @@ -118,6 +118,7 @@ internal static GlobalConfig Load() { case ProtocolType.Udp: break; default: + Logging.LogGenericWarning("Configured SteamProtocol is invalid: " + globalConfig.SteamProtocol + ", default TCP protocol will be used instead"); globalConfig.SteamProtocol = ProtocolType.Tcp; break; }