diff options
Fix a nullref in permissions when returning objects via right-click
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 4dbdb01..0f830e1 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 | |||
1324 | 1324 | ||
1325 | // Group voodoo | 1325 | // Group voodoo |
1326 | // | 1326 | // |
1327 | if (land.LandData.IsGroupOwned) | 1327 | if (l.LandData.IsGroupOwned) |
1328 | { | 1328 | { |
1329 | powers = (GroupPowers)client.GetGroupPowers(land.LandData.GroupID); | 1329 | powers = (GroupPowers)client.GetGroupPowers(l.LandData.GroupID); |
1330 | // Not a group member, or no rights at all | 1330 | // Not a group member, or no rights at all |
1331 | // | 1331 | // |
1332 | if (powers == (GroupPowers)0) | 1332 | if (powers == (GroupPowers)0) |