Fix a bug with DeRezObjects (check for a null remoteClient)
parent
acab2a159d
commit
bd19cf739a
|
@ -1591,7 +1591,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
// So that we know the database is upto date,
|
||||
// for when deleting the object from it
|
||||
ForceSceneObjectBackup(grp);
|
||||
|
||||
if (remoteClient != null)
|
||||
{
|
||||
if (!Permissions.CanTakeCopyObject(grp.UUID, remoteClient.AgentId))
|
||||
permissionToTakeCopy = false;
|
||||
if (!Permissions.CanTakeObject(grp.UUID, remoteClient.AgentId))
|
||||
|
@ -1601,6 +1602,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
permissionToDelete = false;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Handle god perms
|
||||
if (Permissions.IsGod(remoteClient.AgentId))
|
||||
|
|
Loading…
Reference in New Issue