diff options
author | UbitUmarov | 2017-01-07 21:27:57 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-07 21:27:57 +0000 |
commit | 2798adcdcda0ff88b5a40ff8ca2e40738c943bd9 (patch) | |
tree | b2b35212a579d9f657a456c272fd8ac1a0b0d337 | |
parent | Correct casing on isGod and isViewerUIGod (diff) | |
download | opensim-SC_OLD-2798adcdcda0ff88b5a40ff8ca2e40738c943bd9.zip opensim-SC_OLD-2798adcdcda0ff88b5a40ff8ca2e40738c943bd9.tar.gz opensim-SC_OLD-2798adcdcda0ff88b5a40ff8ca2e40738c943bd9.tar.bz2 opensim-SC_OLD-2798adcdcda0ff88b5a40ff8ca2e40738c943bd9.tar.xz |
use new IsGod on CheckAndAdjustLandingPoint_SL so it can be by current viewer god, acording to config
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index bd0786b..9545c13 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -6120,7 +6120,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
6120 | string reason; | 6120 | string reason; |
6121 | 6121 | ||
6122 | // dont mess with gods | 6122 | // dont mess with gods |
6123 | if(IsViewerUIGod || m_scene.Permissions.IsGod(m_uuid)) | 6123 | if(IsGod) |
6124 | return true; | 6124 | return true; |
6125 | 6125 | ||
6126 | // respect region owner and managers | 6126 | // respect region owner and managers |