remove unnecessary argument ref
parent
fcad64209c
commit
90cad82405
|
@ -45,7 +45,7 @@ namespace OpenSim.Framework
|
|||
return currentPerm & allowedPermitions;
|
||||
}
|
||||
|
||||
public static void enforceItemPermitions(ref InventoryItemBase it)
|
||||
public static void enforceItemPermitions(InventoryItemBase it)
|
||||
{
|
||||
if (it == null)
|
||||
return;
|
||||
|
|
|
@ -1125,7 +1125,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
|||
|
||||
if (inType == (sbyte)CustomInventoryType.AnimationSet)
|
||||
{
|
||||
AnimationSet.enforceItemPermitions(ref item);
|
||||
AnimationSet.enforceItemPermitions(item);
|
||||
}
|
||||
|
||||
else if (restrictPerms)
|
||||
|
|
Loading…
Reference in New Issue