aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorMelanie2010-09-25 06:09:35 +0100
committerMelanie2010-09-25 06:09:35 +0100
commit3b76d7bbb6ef2d77a3d534df3f82d767745a58a6 (patch)
tree4c5c8f51247a2cf74678bebc8d1f90a44aadc979 /OpenSim/Region/CoreModules
parentAdd prim name to OdePrim Error and Warning messages. (diff)
downloadopensim-SC_OLD-3b76d7bbb6ef2d77a3d534df3f82d767745a58a6.zip
opensim-SC_OLD-3b76d7bbb6ef2d77a3d534df3f82d767745a58a6.tar.gz
opensim-SC_OLD-3b76d7bbb6ef2d77a3d534df3f82d767745a58a6.tar.bz2
opensim-SC_OLD-3b76d7bbb6ef2d77a3d534df3f82d767745a58a6.tar.xz
Fix a minor economy issue
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
index d91c36c..c8fb9da 100644
--- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
@@ -91,6 +91,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
91 if (part.ParentGroup.IsDeleted) 91 if (part.ParentGroup.IsDeleted)
92 return; 92 return;
93 93
94 if (part.OwnerID != client.AgentId && (!m_scene.Permissions.IsGod(client.AgentId)))
95 return;
96
94 part = part.ParentGroup.RootPart; 97 part = part.ParentGroup.RootPart;
95 98
96 part.ObjectSaleType = saleType; 99 part.ObjectSaleType = saleType;
@@ -258,4 +261,4 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
258 return true; 261 return true;
259 } 262 }
260 } 263 }
261} \ No newline at end of file 264}