Prevent setting arbitrary groups on your objects.

This commit is contained in:
Melanie
2010-09-27 02:11:55 +01:00
parent 296cf04ce6
commit 41051b3cc6

View File

@@ -590,6 +590,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)
{