aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index de3978c..9b17b7f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -5506,8 +5506,13 @@ namespace OpenSim.Region.Framework.Scenes
5506 5506
5507 if (banned) 5507 if (banned)
5508 { 5508 {
5509 reason = "No suitable landing point found"; 5509 if(Permissions.IsAdministrator(agentID) == false || Permissions.IsGridGod(agentID) == false)
5510 return false; 5510 {
5511 reason = "No suitable landing point found";
5512 return false;
5513 }
5514 reason = "Administrative access only";
5515 return true;
5511 } 5516 }
5512 } 5517 }
5513 } 5518 }