aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMelanie2011-11-06 20:12:57 +0000
committerMelanie2011-11-06 20:12:57 +0000
commit51bad0f8aecd069402d418c76bf943110c45e56c (patch)
tree791d01b398bb7c13454d4598e4f46b627dd830be /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentBreak out the parts of ScenePresence that differ from core (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-51bad0f8aecd069402d418c76bf943110c45e56c.zip
opensim-SC_OLD-51bad0f8aecd069402d418c76bf943110c45e56c.tar.gz
opensim-SC_OLD-51bad0f8aecd069402d418c76bf943110c45e56c.tar.bz2
opensim-SC_OLD-51bad0f8aecd069402d418c76bf943110c45e56c.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 0e29b60..eb3597d 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -774,7 +774,10 @@ namespace OpenSim.Region.Framework.Scenes
774 m_localId = m_scene.AllocateLocalId(); 774 m_localId = m_scene.AllocateLocalId();
775 775
776 UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid); 776 UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid);
777 m_userFlags = account.UserFlags; 777 if (account != null)
778 m_userFlags = account.UserFlags;
779 else
780 m_userFlags = 0;
778 781
779 if (account != null) 782 if (account != null)
780 UserLevel = account.UserLevel; 783 UserLevel = account.UserLevel;