Skip to content
Snippets Groups Projects
Commit ff3cfb74 authored by Kahrl's avatar Kahrl Committed by Craig Robbins
Browse files

Ignore downloaded public serverlist if public_serverlist is false

Fixes #1807: When the server list finishes downloading, the local server
list resets in certain conditions
parent a79a116a
No related branches found
No related tags found
No related merge requests found
......@@ -186,8 +186,10 @@ function asyncOnlineFavourites()
end,
nil,
function(result)
menudata.favorites = result
core.event_handler("Refresh")
if core.setting_getbool("public_serverlist") then
menudata.favorites = result
core.event_handler("Refresh")
end
end
)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment