summaryrefslogtreecommitdiff
path: root/src/serverlist.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-04-06 14:02:53 +0200
committersapier <Sapier at GMX dot net>2014-06-19 19:05:37 +0200
commit9a39848ba93eaa56f7f62921f8de7a19e3ed0713 (patch)
tree0a8fe2e5963bc6dbb2fd908162ad34d3737e8278 /src/serverlist.cpp
parent99f565e8f2dcc58dfd0351d49ca42b022639488a (diff)
downloadminetest-9a39848ba93eaa56f7f62921f8de7a19e3ed0713.tar.gz
minetest-9a39848ba93eaa56f7f62921f8de7a19e3ed0713.tar.bz2
minetest-9a39848ba93eaa56f7f62921f8de7a19e3ed0713.zip
Remove a lot of superfluous ifndef USE_CURL checks
Diffstat (limited to 'src/serverlist.cpp')
-rw-r--r--src/serverlist.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/serverlist.cpp b/src/serverlist.cpp
index 10ec5771f..00b5f2dee 100644
--- a/src/serverlist.cpp
+++ b/src/serverlist.cpp
@@ -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
*/