Fix issue in recent 3f0fa9f7
where the code start adding unknown user cache entries with no name
parent
d5a3139b05
commit
7a14221754
|
@ -602,8 +602,11 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||||
user.LastName = "@unknown";
|
user.LastName = "@unknown";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parts.Length >= 2)
|
if (parts.Length >= 2)
|
||||||
user.FirstName = parts[1].Replace(' ', '.');
|
user.FirstName = parts[1].Replace(' ', '.');
|
||||||
|
|
||||||
|
AddUserInternal(user);
|
||||||
}
|
}
|
||||||
|
|
||||||
// To avoid issues with clients, particularly Hypergrid ones, permanently caching
|
// To avoid issues with clients, particularly Hypergrid ones, permanently caching
|
||||||
|
@ -618,8 +621,6 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||||
// user.FirstName = "Unknown";
|
// user.FirstName = "Unknown";
|
||||||
// user.LastName = "UserUMMAU4";
|
// user.LastName = "UserUMMAU4";
|
||||||
// }
|
// }
|
||||||
|
|
||||||
AddUserInternal(user);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue