diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2017-09-12 19:48:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 19:48:09 +0200 |
commit | ee9a442ecc26f2623a1b085344d37636342973eb (patch) | |
tree | 69ee10a648f777b1086ad9c9ea12a85af6162af6 /src/serverlist.cpp | |
parent | 7f2a19da11f2106ecab7a074e7a7465912454e40 (diff) | |
download | minetest-ee9a442ecc26f2623a1b085344d37636342973eb.tar.gz minetest-ee9a442ecc26f2623a1b085344d37636342973eb.tar.bz2 minetest-ee9a442ecc26f2623a1b085344d37636342973eb.zip |
Network: Remove large parts of deprecated legacy code (#6404)
Also remove the setting 'send_pre_v25_init'
Keep old enum entries for obsolete commands
Diffstat (limited to 'src/serverlist.cpp')
-rw-r--r-- | src/serverlist.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/serverlist.cpp b/src/serverlist.cpp index ae3bd98a4..a59a89369 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -70,8 +70,7 @@ std::vector<ServerListSpec> getOnline() { std::ostringstream geturl; - u16 proto_version_min = g_settings->getFlag("send_pre_v25_init") ? - CLIENT_PROTOCOL_VERSION_MIN_LEGACY : CLIENT_PROTOCOL_VERSION_MIN; + u16 proto_version_min = CLIENT_PROTOCOL_VERSION_MIN; geturl << g_settings->get("serverlist_url") << "/list?proto_version_min=" << proto_version_min << |