parent
7c7ea57c5c
commit
993b965f0a
|
@ -845,6 +845,12 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
|
||||||
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
|
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
|
||||||
if (m_bypassPermissions) return m_bypassPermissionsValue;
|
if (m_bypassPermissions) return m_bypassPermissionsValue;
|
||||||
|
|
||||||
|
// If the sender is an object, check owner instead
|
||||||
|
//
|
||||||
|
SceneObjectPart part = startScene.GetSceneObjectPart(user);
|
||||||
|
if (part != null)
|
||||||
|
user = part.OwnerID;
|
||||||
|
|
||||||
return GenericCommunicationPermission(user, target);
|
return GenericCommunicationPermission(user, target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue