1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02: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
*/