This commit is contained in:
JustArchi
2019-01-04 15:49:16 +01:00
parent 9810461c74
commit ac1dd261ff

View File

@@ -295,7 +295,7 @@ namespace ArchiSteamFarm {
// Dashes are optional in the ID, strip them off for comparison
string hash = deviceID.Substring(deviceIdentifier.Length).Replace("-", "");
return Utilities.IsValidHexadecimalString(hash);
return (hash.Length > 0) && Utilities.IsValidHexadecimalString(hash);
}
private string GenerateConfirmationHash(uint time, string tag = null) {