One more buglet fixed related to mantis #4841 -- auto-returns were still chocking on a null pointer exception.

prebuild-update
Diva Canto 2010-07-05 03:36:26 -07:00
parent b84f72df0b
commit c7e4880a5e
1 changed files with 1 additions and 1 deletions

View File

@ -1597,7 +1597,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;