fix build error when UPDATESERVER is defined

This commit is contained in:
jacob1 2018-01-01 12:12:43 -05:00
parent 07988147b9
commit 5012c3cfe6

View File

@ -165,7 +165,7 @@ void Client::Initialise(std::string proxyString)
// use an alternate update server
alternateVersionCheckRequest = http_async_req_start(NULL, "http://" UPDATESERVER "/Startup.json", NULL, 0, 0);
usingAltUpdateServer = true;
if (authUser.ID)
if (authUser.UserID)
{
http_auth_headers(alternateVersionCheckRequest, authUser.Username.c_str(), NULL, NULL);
}