diff options
author | proller <proller@github.com> | 2013-07-04 19:39:26 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2013-07-13 00:19:05 +0400 |
commit | ac7a44792c77747e60beb1e8215fcd4976aa3b06 (patch) | |
tree | 6c6e67080f9f65e1e02bc51b02a131fe23a5dc64 /src/serverlist.h | |
parent | fc6725f14ed371fc626c023faf89e370ea8c2105 (diff) | |
download | minetest-ac7a44792c77747e60beb1e8215fcd4976aa3b06.tar.gz minetest-ac7a44792c77747e60beb1e8215fcd4976aa3b06.tar.bz2 minetest-ac7a44792c77747e60beb1e8215fcd4976aa3b06.zip |
Masterserver mods announse, ipv6, better curl errors
Diffstat (limited to 'src/serverlist.h')
-rw-r--r-- | src/serverlist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serverlist.h b/src/serverlist.h index d01415c50..365e86beb 100644 --- a/src/serverlist.h +++ b/src/serverlist.h @@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <iostream> #include "config.h" +#include "mods.h" #include "json/json.h" #ifndef SERVERLIST_HEADER @@ -39,7 +40,7 @@ namespace ServerList std::vector<ServerListSpec> deSerializeJson(std::string liststring); std::string serializeJson(std::vector<ServerListSpec>); #if USE_CURL - void sendAnnounce(std::string action = "", u16 clients = 0, double uptime = 0, std::string gameid = ""); + void sendAnnounce(std::string action = "", u16 clients = 0, double uptime = 0, std::string gameid = "", std::vector<ModSpec> m_mods = std::vector<ModSpec>()); #endif } //ServerList namespace |