Add a missing viewer-relevant message to the perms module

This commit is contained in:
Melanie Thielker
2017-04-30 13:24:48 +01:00
parent 10922c2a1a
commit cf1064a245

View File

@@ -2022,7 +2022,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions
uint perms = GetObjectPermissions(sp, sog, true);
if((perms & (uint)PermissionMask.Copy) == 0)
{
sp.ControllingClient.SendAgentAlertMessage("Copying this item has been denied by the permissions system", false);
return false;
}
if(sog.OwnerID != sp.UUID && (perms & (uint)PermissionMask.Transfer) == 0)
return false;