From b5f6b87b97575100ece5eceefb19afa428701c98 Mon Sep 17 00:00:00 2001 From: ilumos Date: Sat, 1 Jun 2019 22:55:24 +0100 Subject: [PATCH] Fix for #29 --- src/Commands/Steam/StartDownloading.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Steam/StartDownloading.php b/src/Commands/Steam/StartDownloading.php index f53a670..4d75376 100644 --- a/src/Commands/Steam/StartDownloading.php +++ b/src/Commands/Steam/StartDownloading.php @@ -118,7 +118,7 @@ class StartDownloading extends Command $this->error('Failed to download ' . $appName . ' (App ID: ' . $item->app_id . ') for ' . $item->platform . ' from Steam account ' . $account); $this->updateQueueItemStatus($item->id, 'failed', $message); - if(str_contains(strtolower($message), 'rate limit') ) { + if(str_contains(strtolower($message), strtolower('rate limit')) ) { $this->warn('Rate limit detected - sleeping for 1 minute'); sleep(60); $this->checkSteamAccountsAreAuthorised();