mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Do not disable setting if request is blocked by Roblox
This commit is contained in:
parent
5085688589
commit
fb5e27e9a9
1 changed files with 0 additions and 2 deletions
|
|
@ -155,8 +155,6 @@ function Version.retrieveLatestCompatible(options: {
|
||||||
if success == false or type(releases) ~= "table" or next(releases) ~= 1 then
|
if success == false or type(releases) ~= "table" or next(releases) ~= 1 then
|
||||||
-- Roblox's HTTP errors are weird!
|
-- Roblox's HTTP errors are weird!
|
||||||
if string.find(tostring(releases), "^Unknown HTTP error: HttpService permission denied") then
|
if string.find(tostring(releases), "^Unknown HTTP error: HttpService permission denied") then
|
||||||
Log.debug("Requests to api.github were denied by user, disabling update check")
|
|
||||||
Settings:set("checkForUpdates", false)
|
|
||||||
Version._apiBlocked = true
|
Version._apiBlocked = true
|
||||||
end
|
end
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue