aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 54e9e59..377f243 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -561,6 +561,12 @@ namespace OpenSim.Region.CoreModules.World.Land
561 if(ldata.PassHours == 0) 561 if(ldata.PassHours == 0)
562 return; 562 return;
563 563
564 if(ldata.IsGroupOwned)
565 {
566 remote_client.SendAgentAlertMessage("pass to group owned parcel not suported", false);
567 return;
568 }
569
564 if((ldata.Flags & (uint)ParcelFlags.UsePassList) == 0) 570 if((ldata.Flags & (uint)ParcelFlags.UsePassList) == 0)
565 return; 571 return;
566 572
@@ -607,7 +613,7 @@ namespace OpenSim.Region.CoreModules.World.Land
607 return; 613 return;
608 } 614 }
609 615
610 mm.ApplyCharge(remote_client.AgentId, cost, MoneyTransactionType.LandPassSale); 616 mm.MoveMoney(remote_client.AgentId, ldata.OwnerID, cost, String.Format("Parcel '{0}' pass sell",ldata.Name));
611 617
612 if (idx != -1) 618 if (idx != -1)
613 ldata.ParcelAccessList.RemoveAt(idx); 619 ldata.ParcelAccessList.RemoveAt(idx);