mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fix a nullref in permissions when returning objects via right-click
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user