diff options
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 879d3d6..e0152a3 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -561,6 +561,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
561 | if(ldata.PassHours == 0) | 561 | if(ldata.PassHours == 0) |
562 | return; | 562 | return; |
563 | 563 | ||
564 | // don't allow passes on group owned until we can give money to groups | ||
564 | if(ldata.IsGroupOwned) | 565 | if(ldata.IsGroupOwned) |
565 | { | 566 | { |
566 | remote_client.SendAgentAlertMessage("pass to group owned parcel not suported", false); | 567 | remote_client.SendAgentAlertMessage("pass to group owned parcel not suported", false); |
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index f947ea2..07d11f9 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -540,6 +540,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
540 | ParcelFlags.UseEstateVoiceChan); | 540 | ParcelFlags.UseEstateVoiceChan); |
541 | } | 541 | } |
542 | 542 | ||
543 | // don't allow passes on group owned until we can give money to groups | ||
543 | if (!newData.IsGroupOwned && m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false)) | 544 | if (!newData.IsGroupOwned && m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false)) |
544 | { | 545 | { |
545 | newData.PassHours = args.PassHours; | 546 | newData.PassHours = args.PassHours; |