Squoosh one last opportunity for Unknown Users to creep in.

cpu-performance
Diva Canto 2013-07-02 17:03:04 -07:00
parent 06dba1fa62
commit 119f84fe11
1 changed files with 6 additions and 8 deletions

View File

@ -532,7 +532,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
UserData user = new UserData(); UserData user = new UserData();
user.Id = id; user.Id = id;
if (creatorData != null && creatorData != string.Empty) if (!string.IsNullOrEmpty(creatorData))
{ {
//creatorData = <endpoint>;<name> //creatorData = <endpoint>;<name>
@ -553,14 +553,12 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
} }
if (parts.Length >= 2) if (parts.Length >= 2)
user.FirstName = parts[1].Replace(' ', '.'); user.FirstName = parts[1].Replace(' ', '.');
}
else
{
user.FirstName = "Unknown";
user.LastName = "UserUMMAU2";
}
AddUserInternal(user); AddUserInternal(user);
}
// else don't add the user to the cache, period.
} }
} }