Fix a nullref in permissions when returning objects via right-click

slimupdates
Melanie 2010-03-20 15:49:39 +00:00
parent 5e65bef805
commit f020bd3206
1 changed files with 2 additions and 2 deletions

View File

@ -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)