Prevent setting arbitrary groups on your objects.
parent
296cf04ce6
commit
41051b3cc6
|
@ -590,6 +590,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
protected internal void HandleObjectGroupUpdate(
|
protected internal void HandleObjectGroupUpdate(
|
||||||
IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage)
|
IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage)
|
||||||
{
|
{
|
||||||
|
if (!remoteClient.IsGroupMember(GroupID))
|
||||||
|
return;
|
||||||
|
|
||||||
SceneObjectGroup group = GetGroupByPrim(objectLocalID);
|
SceneObjectGroup group = GetGroupByPrim(objectLocalID);
|
||||||
if (group != null)
|
if (group != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue