diff options
author | UbitUmarov | 2017-07-26 14:24:21 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-26 14:24:21 +0100 |
commit | 025e82341f4299065b4b726a576cdf86c477ac1f (patch) | |
tree | dbcfb8628dc582154dcffa54e4ad7a7d505876bf /OpenSim/Region | |
parent | only allow pass renovation on the last quarter of parcel pass time. go back t... (diff) | |
download | opensim-SC_OLD-025e82341f4299065b4b726a576cdf86c477ac1f.zip opensim-SC_OLD-025e82341f4299065b4b726a576cdf86c477ac1f.tar.gz opensim-SC_OLD-025e82341f4299065b4b726a576cdf86c477ac1f.tar.bz2 opensim-SC_OLD-025e82341f4299065b4b726a576cdf86c477ac1f.tar.xz |
do not allow setting land passes on group owned land, because currently we cant give money to the group
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 74b10ed..f947ea2 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -540,7 +540,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
540 | ParcelFlags.UseEstateVoiceChan); | 540 | ParcelFlags.UseEstateVoiceChan); |
541 | } | 541 | } |
542 | 542 | ||
543 | if (m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false)) | 543 | if (!newData.IsGroupOwned && m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false)) |
544 | { | 544 | { |
545 | newData.PassHours = args.PassHours; | 545 | newData.PassHours = args.PassHours; |
546 | newData.PassPrice = args.PassPrice; | 546 | newData.PassPrice = args.PassPrice; |