summaryrefslogtreecommitdiff
path: root/src/serverlist.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-01-21 14:32:12 -0500
committerCraig Robbins <kde.psych@gmail.com>2015-01-23 21:38:34 +1000
commita9f81b729b1cc90db5574fdb97542901e695bf69 (patch)
treed4364d21ea69efe54fdec7e1181271441391d6dc /src/serverlist.h
parent1702c34b6406025802a4fbecd893c27827b3ce96 (diff)
downloadminetest-a9f81b729b1cc90db5574fdb97542901e695bf69.tar.gz
minetest-a9f81b729b1cc90db5574fdb97542901e695bf69.tar.bz2
minetest-a9f81b729b1cc90db5574fdb97542901e695bf69.zip
Send real port to server list
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 7a7461ebd..8ffea44cc 100644
--- a/src/serverlist.h
+++ b/src/serverlist.h
@@ -38,7 +38,7 @@ namespace ServerList
std::vector<ServerListSpec> deSerializeJson(const std::string &liststring);
const std::string serializeJson(const std::vector<ServerListSpec> &serverlist);
#if USE_CURL
- void sendAnnounce(const std::string &action,
+ void sendAnnounce(const std::string &action, const u16 port,
const std::vector<std::string> &clients_names = std::vector<std::string>(),
const double uptime = 0, const u32 game_time = 0,
const float lag = 0, const std::string &gameid = "",