do not allow setting land passes on group owned land, because currently we cant give money to the group

0.9.0-post-fixes
UbitUmarov 2017-07-26 14:24:21 +01:00
parent 74389c74cb
commit 025e82341f
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ namespace OpenSim.Region.CoreModules.World.Land
ParcelFlags.UseEstateVoiceChan);
}
if (m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false))
if (!newData.IsGroupOwned && m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false))
{
newData.PassHours = args.PassHours;
newData.PassPrice = args.PassPrice;