diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 4dbdb015d0..0f830e12a1 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs @@ -1324,9 +1324,9 @@ namespace OpenSim.Region.CoreModules.World.Permissions // Group voodoo // - if (land.LandData.IsGroupOwned) + if (l.LandData.IsGroupOwned) { - powers = (GroupPowers)client.GetGroupPowers(land.LandData.GroupID); + powers = (GroupPowers)client.GetGroupPowers(l.LandData.GroupID); // Not a group member, or no rights at all // if (powers == (GroupPowers)0)