From eb25270df093f2d8b4b9b76230e15fffb21865bd Mon Sep 17 00:00:00 2001 From: Drake Arconis Date: Tue, 9 Apr 2013 10:51:11 -0400 Subject: [PATCH] Only Aurora supports not having a last name. So lets just default it to Resident. --- indra/newview/llpanellogin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 99991e769..1b2600a19 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -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];