This commit is contained in:
JustArchi
2016-04-23 16:34:00 +02:00
parent fcaf038dac
commit ac7ecb6bb4

View File

@@ -410,7 +410,7 @@ namespace ArchiSteamFarm {
Task.Run(() => HandleCallbacks()).Forget();
}
// 2FA tokens are expiring soon, use limiter only when user is providing one
// 2FA tokens are expiring soon, don't use limiter when user is providing one
if (TwoFactorCode == null || BotDatabase.SteamGuardAccount != null) {
await Program.LimitSteamRequestsAsync().ConfigureAwait(false);
}
@@ -1422,7 +1422,7 @@ namespace ArchiSteamFarm {
Logging.LogGenericInfo("Reconnecting...", BotName);
// 2FA tokens are expiring soon, use limiter only when user is providing one
// 2FA tokens are expiring soon, don't use limiter when user is providing one
if (TwoFactorCode == null || BotDatabase.SteamGuardAccount != null) {
await Program.LimitSteamRequestsAsync().ConfigureAwait(false);
}