mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Permissions modules where made NONShared modules. Make them so, removing incoerences and their potencial bugs
This commit is contained in:
@@ -98,7 +98,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
|
||||
if (part.OwnerID == part.GroupID) // Group owned
|
||||
{
|
||||
// Does the user have the power to put the object on sale?
|
||||
if (!m_scene.Permissions.CanSellGroupObject(client.AgentId, part.GroupID, m_scene))
|
||||
if (!m_scene.Permissions.CanSellGroupObject(client.AgentId, part.GroupID))
|
||||
{
|
||||
client.SendAgentAlertMessage("You don't have permission to set group-owned objects on sale", false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user