Allow HG and other scene presences not linked to a user account to function.
parent
bd10d14bbd
commit
0bf757e42b
|
@ -773,7 +773,10 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
m_localId = m_scene.AllocateLocalId();
|
||||
|
||||
UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid);
|
||||
if (account != null)
|
||||
m_userFlags = account.UserFlags;
|
||||
else
|
||||
m_userFlags = 0;
|
||||
|
||||
if (account != null)
|
||||
UserLevel = account.UserLevel;
|
||||
|
|
Loading…
Reference in New Issue