Prevent setting arbitrary groups on your objects.

This commit is contained in:
Melanie
2010-09-27 02:11:55 +01:00
parent c2a4bdb2fe
commit 8e547d3491

View File

@@ -544,6 +544,9 @@ namespace OpenSim.Region.Framework.Scenes
protected internal void HandleObjectGroupUpdate(
IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage)
{
if (!remoteClient.IsGroupMember(GroupID))
return;
SceneObjectGroup group = GetGroupByPrim(objectLocalID);
if (group != null)
{