diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 83fd349..0380199 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1605,7 +1605,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1605 | } | 1605 | } |
1606 | 1606 | ||
1607 | // Handle god perms | 1607 | // Handle god perms |
1608 | if (Permissions.IsGod(remoteClient.AgentId)) | 1608 | if (remoteClient != null && Permissions.IsGod(remoteClient.AgentId)) |
1609 | { | 1609 | { |
1610 | permissionToTake = true; | 1610 | permissionToTake = true; |
1611 | permissionToTakeCopy = true; | 1611 | permissionToTakeCopy = true; |