diff options
author | UbitUmarov | 2017-01-06 01:09:42 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-06 01:09:42 +0000 |
commit | 6172446e2afa53960b4e118e0b2ae199f6e17b3f (patch) | |
tree | 835b484189907c74259d70e1841c151ea3bb8e3f /OpenSim/Region/ClientStack/Linden | |
parent | fix merge (diff) | |
parent | UserLevel must have a trusted source (diff) | |
download | opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.zip opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.tar.gz opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.tar.bz2 opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.tar.xz |
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 8cb40e1..58b7b00 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -537,7 +537,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
537 | // check user level | 537 | // check user level |
538 | if (avatar != null) | 538 | if (avatar != null) |
539 | { | 539 | { |
540 | if (avatar.UserLevel < m_levelUpload) | 540 | if (avatar.GodController.UserLevel < m_levelUpload) |
541 | { | 541 | { |
542 | LLSDAssetUploadError resperror = new LLSDAssetUploadError(); | 542 | LLSDAssetUploadError resperror = new LLSDAssetUploadError(); |
543 | resperror.message = "Insufficient permissions to upload"; | 543 | resperror.message = "Insufficient permissions to upload"; |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index dba2872..316956b 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -11455,7 +11455,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11455 | ScenePresence p; | 11455 | ScenePresence p; |
11456 | if (scene.TryGetScenePresence(sender.AgentId, out p)) | 11456 | if (scene.TryGetScenePresence(sender.AgentId, out p)) |
11457 | { | 11457 | { |
11458 | if (p.GodLevel >= 200) | 11458 | if (p.GodController.GodLevel >= 200) |
11459 | { | 11459 | { |
11460 | groupProfileReply.GroupData.OpenEnrollment = true; | 11460 | groupProfileReply.GroupData.OpenEnrollment = true; |
11461 | groupProfileReply.GroupData.MembershipFee = 0; | 11461 | groupProfileReply.GroupData.MembershipFee = 0; |