mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
One more buglet fixed related to mantis #4841 -- auto-returns were still chocking on a null pointer exception.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user