Only Aurora supports not having a last name. So lets just default it to Resident.

This commit is contained in:
Drake Arconis
2013-04-09 10:51:11 -04:00
parent e9330f8a87
commit eb25270df0

View File

@@ -113,10 +113,10 @@ static bool nameSplit(const std::string& full, std::string& first, std::string&
first = fragments[0];
if (fragments.size() == 1)
{
if (gHippoGridManager->getConnectedGrid()->isSecondLife())
last = "Resident";
else
if (gHippoGridManager->getConnectedGrid()->isAurora())
last = "";
else
last = "Resident";
}
else
last = fragments[1];