1
0
Fork 0
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:
sapier 2014-04-06 14:02:53 +02:00
parent 99f565e8f2
commit 9a39848ba9
4 changed files with 7 additions and 17 deletions

View file

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