diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 bcb5f7c..9ba13ae 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1597,7 +1597,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1597 | } | 1597 | } |
1598 | 1598 | ||
1599 | // Handle god perms | 1599 | // Handle god perms |
1600 | if (Permissions.IsGod(remoteClient.AgentId)) | 1600 | if ((remoteClient != null) && Permissions.IsGod(remoteClient.AgentId)) |
1601 | { | 1601 | { |
1602 | permissionToTake = true; | 1602 | permissionToTake = true; |
1603 | permissionToTakeCopy = true; | 1603 | permissionToTakeCopy = true; |