diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index adef0e6..82de06f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3795,6 +3795,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3795 | if (World.GetExtraSetting("auto_grant_attach_perms") == "true") | 3795 | if (World.GetExtraSetting("auto_grant_attach_perms") == "true") |
3796 | implicitPerms = ScriptBaseClass.PERMISSION_ATTACH; | 3796 | implicitPerms = ScriptBaseClass.PERMISSION_ATTACH; |
3797 | } | 3797 | } |
3798 | if (World.GetExtraSetting("auto_grant_all_perms") == "true") | ||
3799 | { | ||
3800 | implicitPerms = perm; | ||
3801 | } | ||
3798 | } | 3802 | } |
3799 | 3803 | ||
3800 | if ((perm & (~implicitPerms)) == 0) // Requested only implicit perms | 3804 | if ((perm & (~implicitPerms)) == 0) // Requested only implicit perms |