diff options
author | UbitUmarov | 2017-07-26 14:26:28 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-26 14:26:28 +0100 |
commit | a91ceae8264edde864a383080660d6eea698b3d9 (patch) | |
tree | 61fb2f45af712a52ff4d2de958bfd0cf6320bd03 /OpenSim/Region/CoreModules/World/Land | |
parent | do not allow setting land passes on group owned land, because currently we ca... (diff) | |
download | opensim-SC-a91ceae8264edde864a383080660d6eea698b3d9.zip opensim-SC-a91ceae8264edde864a383080660d6eea698b3d9.tar.gz opensim-SC-a91ceae8264edde864a383080660d6eea698b3d9.tar.bz2 opensim-SC-a91ceae8264edde864a383080660d6eea698b3d9.tar.xz |
add comments to make that more clear
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-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; |