mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
change parcel env group power check to only parcel environment modify
This commit is contained in:
@@ -583,7 +583,7 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
||||
goto Error;
|
||||
}
|
||||
|
||||
if (!m_scene.Permissions.CanEditParcelProperties(agentID, lchannel, (GroupPowers.AllowEnvironment | GroupPowers.LandEdit), true)) // wrong
|
||||
if (!m_scene.Permissions.CanEditParcelProperties(agentID, lchannel, GroupPowers.AllowEnvironment, true)) // wrong
|
||||
{
|
||||
message = "No permission to change parcel environment";
|
||||
goto Error;
|
||||
|
||||
Reference in New Issue
Block a user