refuse to do a inventory link if provided asset type is not a link or

folderlink
avinationmerge
UbitUmarov 2014-09-26 13:28:24 +01:00
parent d29a04fc20
commit 09e05d48b9
1 changed files with 4 additions and 0 deletions

View File

@ -1063,6 +1063,10 @@ namespace OpenSim.Region.Framework.Scenes
if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId))
return;
if (type != (sbyte)AssetType.Link || type != (sbyte)AssetType.LinkFolder)
return;
ScenePresence presence;
if (TryGetScenePresence(remoteClient.AgentId, out presence))
{