mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove a lot of superfluous ifndef USE_CURL checks
This commit is contained in:
parent
99f565e8f2
commit
9a39848ba9
4 changed files with 7 additions and 17 deletions
|
@ -68,7 +68,6 @@ std::vector<ServerListSpec> getLocal()
|
|||
}
|
||||
|
||||
|
||||
#if USE_CURL
|
||||
std::vector<ServerListSpec> getOnline()
|
||||
{
|
||||
Json::Value root = fetchJsonValue((g_settings->get("serverlist_url")+"/list").c_str(),0);
|
||||
|
@ -87,8 +86,6 @@ std::vector<ServerListSpec> getOnline()
|
|||
return serverlist;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
Delete a server fromt he local favorites list
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue