add comments to make that more clear

0.9.0-post-fixes
UbitUmarov 2017-07-26 14:26:28 +01:00
parent 025e82341f
commit a91ceae826
2 changed files with 2 additions and 0 deletions

View File

@ -561,6 +561,7 @@ namespace OpenSim.Region.CoreModules.World.Land
if(ldata.PassHours == 0)
return;
// don't allow passes on group owned until we can give money to groups
if(ldata.IsGroupOwned)
{
remote_client.SendAgentAlertMessage("pass to group owned parcel not suported", false);

View File

@ -540,6 +540,7 @@ namespace OpenSim.Region.CoreModules.World.Land
ParcelFlags.UseEstateVoiceChan);
}
// don't allow passes on group owned until we can give money to groups
if (!newData.IsGroupOwned && m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false))
{
newData.PassHours = args.PassHours;