Cinder made some logic enhancements to hippogridmanager.cpp, I've picked them up~
This commit is contained in:
@@ -153,7 +153,7 @@ void HippoGridInfo::setGridNick(std::string gridNick)
|
||||
{
|
||||
mIsInProductionGrid = true;
|
||||
}
|
||||
if(gridNick == "avination")
|
||||
else if(gridNick == "avination")
|
||||
{
|
||||
mIsInAvination = true;
|
||||
}
|
||||
@@ -177,12 +177,12 @@ void HippoGridInfo::setLoginUri(const std::string& loginUri)
|
||||
useHttps();
|
||||
setPlatform(PLATFORM_SECONDLIFE);
|
||||
}
|
||||
if (utf8str_tolower(LLURI(mLoginUri).hostName()) == "login.aditi.lindenlab.com")
|
||||
else if (utf8str_tolower(LLURI(mLoginUri).hostName()) == "login.aditi.lindenlab.com")
|
||||
{
|
||||
useHttps();
|
||||
setPlatform(PLATFORM_SECONDLIFE);
|
||||
}
|
||||
if (utf8str_tolower(LLURI(mLoginUri).hostName()) == "login.avination.com" ||
|
||||
else if (utf8str_tolower(LLURI(mLoginUri).hostName()) == "login.avination.com" ||
|
||||
utf8str_tolower(LLURI(mLoginUri).hostName()) == "login.avination.net")
|
||||
{
|
||||
mIsInAvination = true;
|
||||
|
||||
Reference in New Issue
Block a user