diff options
-rw-r--r-- | OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 33e0884..b557186 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |||
@@ -1592,7 +1592,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1592 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); | 1592 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); |
1593 | if (m_bypassPermissions) return m_bypassPermissionsValue; | 1593 | if (m_bypassPermissions) return m_bypassPermissionsValue; |
1594 | 1594 | ||
1595 | return GenericObjectPermission(editorID, objectID, false); | 1595 | return GenericObjectPermission(userID, objectID, false); |
1596 | } | 1596 | } |
1597 | 1597 | ||
1598 | private bool CanDelinkObject(UUID userID, UUID objectID) | 1598 | private bool CanDelinkObject(UUID userID, UUID objectID) |
@@ -1600,7 +1600,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1600 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); | 1600 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); |
1601 | if (m_bypassPermissions) return m_bypassPermissionsValue; | 1601 | if (m_bypassPermissions) return m_bypassPermissionsValue; |
1602 | 1602 | ||
1603 | return GenericObjectPermission(editorID, objectID, false); | 1603 | return GenericObjectPermission(userID, objectID, false); |
1604 | } | 1604 | } |
1605 | 1605 | ||
1606 | private bool CanBuyLand(UUID userID, ILandObject parcel, Scene scene) | 1606 | private bool CanBuyLand(UUID userID, ILandObject parcel, Scene scene) |