aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-17 19:12:56 +0000
committerJustin Clarke Casey2008-12-17 19:12:56 +0000
commit2108d328df70c2156efecbd2211c8212843f62ff (patch)
treeabe7489aed3379286466fd6229648c38144a6c31 /OpenSim/Region
parentChange the PacketQueue to use the stored size as well (diff)
downloadopensim-SC_OLD-2108d328df70c2156efecbd2211c8212843f62ff.zip
opensim-SC_OLD-2108d328df70c2156efecbd2211c8212843f62ff.tar.gz
opensim-SC_OLD-2108d328df70c2156efecbd2211c8212843f62ff.tar.bz2
opensim-SC_OLD-2108d328df70c2156efecbd2211c8212843f62ff.tar.xz
* revert r7724 so that PresenceChildStatus() starts throwing NRE's again
* apparantly logout code relies on this happening in certain circumstances. Really, the root issue needs to be investigated.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs1
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs10
2 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index e34c8ec..9d6e3af 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -333,6 +333,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
333 333
334 if (m_groupPowers.ContainsKey(groupID)) 334 if (m_groupPowers.ContainsKey(groupID))
335 return m_groupPowers[groupID]; 335 return m_groupPowers[groupID];
336
336 return 0; 337 return 0;
337 } 338 }
338 339
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 3aa2470..8dcd071 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -4133,10 +4133,14 @@ namespace OpenSim.Region.Environment.Scenes
4133 { 4133 {
4134 ScenePresence cp = GetScenePresence(avatarID); 4134 ScenePresence cp = GetScenePresence(avatarID);
4135 4135
4136 if (cp != null) 4136 // FIXME: This is really crap - some logout code is relying on a NullReferenceException to halt its processing
4137 return cp.IsChildAgent; 4137 // This needs to be fixed properly by cleaning up the logout code.
4138 //if (cp != null)
4139 // return cp.IsChildAgent;
4138 4140
4139 return false; 4141 //return false;
4142
4143 return cp.IsChildAgent;
4140 } 4144 }
4141 4145
4142 /// <summary> 4146 /// <summary>