mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
refuse to do a inventory link if provided asset type is not a link or
folderlink
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user