diff options
author | UbitUmarov | 2017-01-27 12:32:01 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-27 12:32:01 +0000 |
commit | 56e3aaefde72bc8819dfb34b423f4ada65f1a195 (patch) | |
tree | f125f1f4f9fb38eb7a053078a7ed5a798c5be0db /OpenSim/Region/CoreModules/World/Objects | |
parent | remove unused and wrong methods (diff) | |
download | opensim-SC-56e3aaefde72bc8819dfb34b423f4ada65f1a195.zip opensim-SC-56e3aaefde72bc8819dfb34b423f4ada65f1a195.tar.gz opensim-SC-56e3aaefde72bc8819dfb34b423f4ada65f1a195.tar.bz2 opensim-SC-56e3aaefde72bc8819dfb34b423f4ada65f1a195.tar.xz |
Permissions modules where made NONShared modules. Make them so, removing incoerences and their potencial bugs
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index 504a584..142c8b7 100644 --- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |||
@@ -98,7 +98,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell | |||
98 | if (part.OwnerID == part.GroupID) // Group owned | 98 | if (part.OwnerID == part.GroupID) // Group owned |
99 | { | 99 | { |
100 | // Does the user have the power to put the object on sale? | 100 | // Does the user have the power to put the object on sale? |
101 | if (!m_scene.Permissions.CanSellGroupObject(client.AgentId, part.GroupID, m_scene)) | 101 | if (!m_scene.Permissions.CanSellGroupObject(client.AgentId, part.GroupID)) |
102 | { | 102 | { |
103 | client.SendAgentAlertMessage("You don't have permission to set group-owned objects on sale", false); | 103 | client.SendAgentAlertMessage("You don't have permission to set group-owned objects on sale", false); |
104 | return; | 104 | return; |