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