One more buglet fixed related to mantis #4841 -- auto-returns were still chocking on a null pointer exception.
parent
80e16907bf
commit
60207f670f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue