This commit is contained in:
JustArchi
2019-11-20 17:59:24 +01:00
parent 469f6d0d95
commit 71fdc829a1

View File

@@ -457,6 +457,8 @@ namespace ArchiSteamFarm {
public void SetUserInput(ASF.EUserInputType inputType, string inputValue) {
if ((inputType == ASF.EUserInputType.Unknown) || !Enum.IsDefined(typeof(ASF.EUserInputType), inputValue) || string.IsNullOrEmpty(inputValue)) {
ArchiLogger.LogNullError(nameof(inputType) + " || " + nameof(inputValue));
return;
}
// This switch should cover ONLY bot properties