diff options
author | Sean Dague | 2007-10-05 15:45:45 +0000 |
---|---|---|
committer | Sean Dague | 2007-10-05 15:45:45 +0000 |
commit | c3d8f1f4253f72484100394940e62f2912cbc4ff (patch) | |
tree | 8a9f237ed3c1140b4059ec121e0d4ede82eae416 /OpenSim/Region/Environment/PermissionManager.cs | |
parent | * So, ok, maybe renaming serialized fields on a friday wasn't the smartest of... (diff) | |
download | opensim-SC-c3d8f1f4253f72484100394940e62f2912cbc4ff.zip opensim-SC-c3d8f1f4253f72484100394940e62f2912cbc4ff.tar.gz opensim-SC-c3d8f1f4253f72484100394940e62f2912cbc4ff.tar.bz2 opensim-SC-c3d8f1f4253f72484100394940e62f2912cbc4ff.tar.xz |
getting all our line endings consistant again
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/PermissionManager.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs index 0a33380..4c02a6c 100644 --- a/OpenSim/Region/Environment/PermissionManager.cs +++ b/OpenSim/Region/Environment/PermissionManager.cs | |||
@@ -1,7 +1,7 @@ | |||
1 | using libsecondlife; | 1 | using libsecondlife; |
2 | using OpenSim.Region.Environment.LandManagement; | 2 | using OpenSim.Region.Environment.LandManagement; |
3 | using OpenSim.Region.Environment.Scenes; | 3 | using OpenSim.Region.Environment.Scenes; |
4 | 4 | ||
5 | namespace OpenSim.Region.Environment | 5 | namespace OpenSim.Region.Environment |
6 | { | 6 | { |
7 | public class PermissionManager | 7 | public class PermissionManager |
@@ -12,8 +12,8 @@ namespace OpenSim.Region.Environment | |||
12 | // disable in any production environment | 12 | // disable in any production environment |
13 | // TODO: Change this to false when permissions are a desired default | 13 | // TODO: Change this to false when permissions are a desired default |
14 | // TODO: Move to configuration option. | 14 | // TODO: Move to configuration option. |
15 | private bool m_bypassPermissions = true; | 15 | private bool m_bypassPermissions = true; |
16 | 16 | ||
17 | public bool BypassPermissions | 17 | public bool BypassPermissions |
18 | { | 18 | { |
19 | get { return m_bypassPermissions; } | 19 | get { return m_bypassPermissions; } |
@@ -117,7 +117,7 @@ namespace OpenSim.Region.Environment | |||
117 | permission = true; | 117 | permission = true; |
118 | 118 | ||
119 | // Users should be able to edit what is over their land. | 119 | // Users should be able to edit what is over their land. |
120 | if (m_scene.LandManager.getLandObject(task.AbsolutePosition.X, task.AbsolutePosition.Y).landData.ownerID == | 120 | if (m_scene.LandManager.getLandObject(task.AbsolutePosition.X, task.AbsolutePosition.Y).landData.ownerID == |
121 | user) | 121 | user) |
122 | permission = true; | 122 | permission = true; |
123 | 123 | ||
@@ -294,6 +294,6 @@ namespace OpenSim.Region.Environment | |||
294 | return GenericParcelPermission(user, parcel); | 294 | return GenericParcelPermission(user, parcel); |
295 | } | 295 | } |
296 | 296 | ||
297 | #endregion | 297 | #endregion |
298 | } | 298 | } |
299 | } \ No newline at end of file | 299 | } \ No newline at end of file |