diff options
author | MW | 2007-08-04 18:15:48 +0000 |
---|---|---|
committer | MW | 2007-08-04 18:15:48 +0000 |
commit | f1e10e555d1cc7bee40b4fd05caf2507c5808816 (patch) | |
tree | 26b17b33db5726efb0f5a4983a607401fa58d04a /OpenSim/Region/Environment/PermissionManager.cs | |
parent | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs (diff) | |
download | opensim-SC-f1e10e555d1cc7bee40b4fd05caf2507c5808816.zip opensim-SC-f1e10e555d1cc7bee40b4fd05caf2507c5808816.tar.gz opensim-SC-f1e10e555d1cc7bee40b4fd05caf2507c5808816.tar.bz2 opensim-SC-f1e10e555d1cc7bee40b4fd05caf2507c5808816.tar.xz |
clean up of startup config settings (command line args etc),
Now using the Nini configuration library (suggest we look into using this for the rest of our config handling, as it provides a standard interface for command line args, INI files, Xml files, .NET config files, and windows registry).
One IMPORTANT change is that to TO START GRIDMODE , you need to now use -gridmode=true .
Also need someone to test it under mono. (there is a dll that has been compiled under mono available, just hoping that we don't have to deal with separate dlls for windows and linux.
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/PermissionManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs index 3f1ba18..ea93050 100644 --- a/OpenSim/Region/Environment/PermissionManager.cs +++ b/OpenSim/Region/Environment/PermissionManager.cs | |||
@@ -57,7 +57,7 @@ namespace OpenSim.Region.Environment | |||
57 | return false; | 57 | return false; |
58 | 58 | ||
59 | SceneObject task = (SceneObject)m_scene.Entities[obj]; | 59 | SceneObject task = (SceneObject)m_scene.Entities[obj]; |
60 | LLUUID taskOwner = null; // Since we dont have a 'owner' property on task yet | 60 | LLUUID taskOwner = task.rootPrimitive.OwnerID; |
61 | 61 | ||
62 | // Object owners should be able to edit their own content | 62 | // Object owners should be able to edit their own content |
63 | if (user == taskOwner) | 63 | if (user == taskOwner) |