mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Squoosh one last opportunity for Unknown Users to creep in.
This commit is contained in:
@@ -532,7 +532,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
UserData user = new UserData();
|
||||
user.Id = id;
|
||||
|
||||
if (creatorData != null && creatorData != string.Empty)
|
||||
if (!string.IsNullOrEmpty(creatorData))
|
||||
{
|
||||
//creatorData = <endpoint>;<name>
|
||||
|
||||
@@ -553,14 +553,12 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
}
|
||||
if (parts.Length >= 2)
|
||||
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.
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user