summaryrefslogtreecommitdiff
path: root/src/serverlist.h
diff options
context:
space:
mode:
authorproller <proller@github.com>2014-01-07 02:50:45 +0400
committerproller <proller@github.com>2014-01-07 02:50:45 +0400
commitc62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8 (patch)
treeebc099dab9ded4535351b3ef3115ca593c48d482 /src/serverlist.h
parent3e728e722a788350718046daaf36f9a9c14ef1d1 (diff)
downloadminetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.tar.gz
minetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.tar.bz2
minetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.zip
Send long announce as POST, show OS in useragent
Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
Diffstat (limited to 'src/serverlist.h')
-rw-r--r--src/serverlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serverlist.h b/src/serverlist.h
index 77eb29b14..915e8482f 100644
--- a/src/serverlist.h
+++ b/src/serverlist.h
@@ -41,7 +41,7 @@ namespace ServerList
std::string serializeJson(std::vector<ServerListSpec>);
#if USE_CURL
void sendAnnounce(std::string action = "", const std::vector<std::string> & clients_names = std::vector<std::string>(),
- double uptime = 0, u32 game_time = 0,std::string gameid = "",
+ double uptime = 0, u32 game_time = 0, float lag = 0, std::string gameid = "",
std::vector<ModSpec> mods = std::vector<ModSpec>());
#endif
} //ServerList namespace