add comments to make that more clear
parent
025e82341f
commit
a91ceae826
|
@ -561,6 +561,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
if(ldata.PassHours == 0)
|
if(ldata.PassHours == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// don't allow passes on group owned until we can give money to groups
|
||||||
if(ldata.IsGroupOwned)
|
if(ldata.IsGroupOwned)
|
||||||
{
|
{
|
||||||
remote_client.SendAgentAlertMessage("pass to group owned parcel not suported", false);
|
remote_client.SendAgentAlertMessage("pass to group owned parcel not suported", false);
|
||||||
|
|
|
@ -540,6 +540,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
ParcelFlags.UseEstateVoiceChan);
|
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))
|
if (!newData.IsGroupOwned && m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false))
|
||||||
{
|
{
|
||||||
newData.PassHours = args.PassHours;
|
newData.PassHours = args.PassHours;
|
||||||
|
|
Loading…
Reference in New Issue