remove unnecessary argument ref

avinationmerge
UbitUmarov 2014-09-26 14:22:54 +01:00
parent fcad64209c
commit 90cad82405
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1125,7 +1125,7 @@ namespace OpenSim.Region.ClientStack.Linden
if (inType == (sbyte)CustomInventoryType.AnimationSet)
{
AnimationSet.enforceItemPermitions(ref item);
AnimationSet.enforceItemPermitions(item);
}
else if (restrictPerms)