mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
add comments to make that more clear
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user