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

0.7-release
Diva Canto 2010-07-05 03:36:26 -07:00
parent 80e16907bf
commit 60207f670f
1 changed files with 1 additions and 1 deletions

View File

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