From ff441c10ab0205e20e9c9d70d0e3db37e103748f Mon Sep 17 00:00:00 2001 From: Pablo Roca Rozas Date: Thu, 1 Sep 2016 00:16:35 +0100 Subject: [PATCH] #1 Error in function mustbethrottled, fix by GenaritoBike --- src/Utils/APIRateLimit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/APIRateLimit.php b/src/Utils/APIRateLimit.php index 720faa5..02d08f4 100644 --- a/src/Utils/APIRateLimit.php +++ b/src/Utils/APIRateLimit.php @@ -52,7 +52,7 @@ protected function mustbethrottled () { $result = null; } - if ($result['requests'] > $this->requests) { + if ($result['requests'] >= $this->requests) { return TRUE; }