diff options
author | Melanie | 2013-02-10 20:01:51 +0000 |
---|---|---|
committer | Melanie | 2013-02-10 20:01:51 +0000 |
commit | 12f732fd3f1883dc016fc801bfd834290aa1cd06 (patch) | |
tree | 8d1a23a04f8c206b5bf0a79ce510c62ee7dc23ed /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Fix code to check for no spawn points. Possibly a merge artefact? (diff) | |
download | opensim-SC-12f732fd3f1883dc016fc801bfd834290aa1cd06.zip opensim-SC-12f732fd3f1883dc016fc801bfd834290aa1cd06.tar.gz opensim-SC-12f732fd3f1883dc016fc801bfd834290aa1cd06.tar.bz2 opensim-SC-12f732fd3f1883dc016fc801bfd834290aa1cd06.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index c757147..1a1c3d2 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -5865,8 +5865,13 @@ Environment.Exit(1); | |||
5865 | 5865 | ||
5866 | if (banned) | 5866 | if (banned) |
5867 | { | 5867 | { |
5868 | reason = "No suitable landing point found"; | 5868 | if(Permissions.IsAdministrator(agentID) == false || Permissions.IsGridGod(agentID) == false) |
5869 | return false; | 5869 | { |
5870 | reason = "No suitable landing point found"; | ||
5871 | return false; | ||
5872 | } | ||
5873 | reason = "Administrative access only"; | ||
5874 | return true; | ||
5870 | } | 5875 | } |
5871 | } | 5876 | } |
5872 | } | 5877 | } |