Guard against completely unknown user UUIDs.
parent
da3aa44138
commit
d80936bbbb
|
@ -332,11 +332,14 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
|||
{
|
||||
AddUser(uuid, first, last, url);
|
||||
|
||||
if (m_UserCache.ContainsKey(uuid))
|
||||
{
|
||||
names[0] = m_UserCache[uuid].FirstName;
|
||||
names[1] = m_UserCache[uuid].LastName;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
m_log.DebugFormat("[USER MANAGEMENT MODULE]: Unable to parse UUI {0}", uInfo.UserID);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue