mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
remove unnecessary argument ref
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user