This commit is contained in:
JustArchi
2016-02-03 21:53:30 +01:00
parent e4189b2bc4
commit b20423e415

View File

@@ -587,6 +587,10 @@ namespace ArchiSteamFarm {
}
internal async Task<string> ResponseRedeem(string message, bool validate) {
if (string.IsNullOrEmpty(message)) {
return null;
}
StringBuilder response = new StringBuilder();
using (StringReader reader = new StringReader(message)) {
string key = reader.ReadLine();
@@ -596,6 +600,7 @@ namespace ArchiSteamFarm {
if (currentBot == null) {
break;
}
if (validate && !IsValidCdKey(key)) {
continue;
}