forked from oerkki/voxelands
get server list working again
This commit is contained in:
parent
ca1e75a8e0
commit
f64cd80c10
|
@ -584,7 +584,7 @@ std::string http_request(char* host, char* url, char* post, int port)
|
||||||
|
|
||||||
addr.setPort(port);
|
addr.setPort(port);
|
||||||
if (!host || !host[0]) {
|
if (!host || !host[0]) {
|
||||||
host = config_get("global.api.announce");
|
host = config_get("global.api.address");
|
||||||
if (!host || !host[0])
|
if (!host || !host[0])
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue