mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
handle a old defective creatordata host, on caching the creators of objects in region
This commit is contained in:
@@ -1107,12 +1107,23 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
}
|
||||
else
|
||||
{
|
||||
oldUser.FirstName = firstname + "." + lastname.Replace(" ", ".");
|
||||
oldUser.LastName = "UMMM1Unknown";
|
||||
oldUser.IsLocal = true;
|
||||
oldUser.HomeURL = string.Empty;
|
||||
oldUser.HasGridUserTried = true;
|
||||
oldUser.IsUnknownUser = true;
|
||||
if (string.IsNullOrEmpty(homeuri.Host)) // take this as local
|
||||
{
|
||||
oldUser.FirstName = firstname;
|
||||
oldUser.LastName = lastname;
|
||||
oldUser.IsLocal = true;
|
||||
oldUser.HomeURL = string.Empty;
|
||||
oldUser.HasGridUserTried = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
oldUser.FirstName = firstname + "." + lastname.Replace(" ", ".");
|
||||
oldUser.LastName = "UMMM1Unknown";
|
||||
oldUser.IsLocal = true;
|
||||
oldUser.HomeURL = string.Empty;
|
||||
oldUser.HasGridUserTried = true;
|
||||
oldUser.IsUnknownUser = true;
|
||||
}
|
||||
}
|
||||
m_userCacheByID.Add(id, oldUser, NOEXPIRE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user