aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-09-27 02:11:55 +0100
committerMelanie2010-09-27 02:13:22 +0100
commit41051b3cc68f1b7cf92538bd2affbf4c838f1a1d (patch)
treea4f26b43287301115c6a211dd12fe7706ae7c8cd /OpenSim
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC_OLD-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.zip
opensim-SC_OLD-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.tar.gz
opensim-SC_OLD-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.tar.bz2
opensim-SC_OLD-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.tar.xz
Prevent setting arbitrary groups on your objects.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 5ef14bf..b61aed5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -590,6 +590,9 @@ namespace OpenSim.Region.Framework.Scenes
590 protected internal void HandleObjectGroupUpdate( 590 protected internal void HandleObjectGroupUpdate(
591 IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage) 591 IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage)
592 { 592 {
593 if (!remoteClient.IsGroupMember(GroupID))
594 return;
595
593 SceneObjectGroup group = GetGroupByPrim(objectLocalID); 596 SceneObjectGroup group = GetGroupByPrim(objectLocalID);
594 if (group != null) 597 if (group != null)
595 { 598 {