diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneGraph.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneGraph.cs b/OpenSim/Region/Environment/Scenes/SceneGraph.cs index 0c4e899..3b6aa15 100644 --- a/OpenSim/Region/Environment/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Environment/Scenes/SceneGraph.cs | |||
@@ -423,10 +423,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
423 | { | 423 | { |
424 | SceneObjectGroup group = (SceneObjectGroup)obj; | 424 | SceneObjectGroup group = (SceneObjectGroup)obj; |
425 | 425 | ||
426 | if (m_parentScene.Permissions.CanEditObject(group.UUID, remoteClient.AgentId)) | 426 | if (group.OwnerID != remoteClient.AgentId) |
427 | group.SetGroup(GroupID, remoteClient); | 427 | group.SetGroup(GroupID, remoteClient); |
428 | else | ||
429 | remoteClient.SendAgentAlertMessage("You don't have permission to set the group", false); | ||
430 | } | 428 | } |
431 | } | 429 | } |
432 | } | 430 | } |