Fix a nullref in permissions when returning objects via right-click
parent
5e65bef805
commit
f020bd3206
|
@ -1324,9 +1324,9 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||||
|
|
||||||
// Group voodoo
|
// 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
|
// Not a group member, or no rights at all
|
||||||
//
|
//
|
||||||
if (powers == (GroupPowers)0)
|
if (powers == (GroupPowers)0)
|
||||||
|
|
Loading…
Reference in New Issue