aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 1fc4609..64411e6 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -611,13 +611,14 @@ namespace OpenSim.Region.CoreModules.World.Land
611 WorkManager.RunInThreadPool( 611 WorkManager.RunInThreadPool(
612 delegate 612 delegate
613 { 613 {
614 string regionName = m_scene.RegionInfo.RegionName;
615
614 if (!mm.AmountCovered(remote_client.AgentId, cost)) 616 if (!mm.AmountCovered(remote_client.AgentId, cost))
615 { 617 {
616 remote_client.SendAgentAlertMessage("Insufficient funds", true); 618 remote_client.SendAgentAlertMessage(String.Format("Insufficient funds in region '{0}' money system", regionName), true);
617 return; 619 return;
618 } 620 }
619 621
620 string regionName = m_scene.RegionInfo.RegionName;
621 string payDescription = String.Format("Parcel '{0}' at region '{1} {2:0.###} hours access pass", ldata.Name, regionName, ldata.PassHours); 622 string payDescription = String.Format("Parcel '{0}' at region '{1} {2:0.###} hours access pass", ldata.Name, regionName, ldata.PassHours);
622 623
623 if(!mm.MoveMoney(remote_client.AgentId, ldata.OwnerID, cost,MoneyTransactionType.LandPassSale, payDescription)) 624 if(!mm.MoveMoney(remote_client.AgentId, ldata.OwnerID, cost,MoneyTransactionType.LandPassSale, payDescription))