Prevent setting arbitrary groups on your objects.

viewer-2-initial-appearance
Melanie 2010-09-27 02:11:55 +01:00
parent c2a4bdb2fe
commit 8e547d3491
1 changed files with 3 additions and 0 deletions

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)
{