Do not disable setting if request is blocked by Roblox

This commit is contained in:
Micah 2026-07-05 22:37:04 -07:00
parent 5085688589
commit fb5e27e9a9
No known key found for this signature in database

View file

@ -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