Add warning for invalid protocols

This commit is contained in:
JustArchi
2016-03-19 11:48:51 +01:00
parent 3597c8f138
commit d0d670f1a5

View File

@@ -118,6 +118,7 @@ namespace ArchiSteamFarm {
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;
}