Fix another nullref issue in DeRezSceneObject

avinationmerge
Tom Grimshaw 2010-06-26 13:06:47 -07:00
parent bd19cf739a
commit ed5dac7e82
1 changed files with 1 additions and 1 deletions

View File

@ -1605,7 +1605,7 @@ namespace OpenSim.Region.Framework.Scenes
}
// Handle god perms
if (Permissions.IsGod(remoteClient.AgentId))
if (remoteClient != null && Permissions.IsGod(remoteClient.AgentId))
{
permissionToTake = true;
permissionToTakeCopy = true;