get server list working again

This commit is contained in:
darkrose 2017-08-30 19:31:26 +10:00
parent ca1e75a8e0
commit f64cd80c10
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ std::string http_request(char* host, char* url, char* post, int port)
addr.setPort(port);
if (!host || !host[0]) {
host = config_get("global.api.announce");
host = config_get("global.api.address");
if (!host || !host[0])
return "";
}