aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorOren Hurvitz2014-04-07 09:25:18 +0300
committerOren Hurvitz2014-04-07 07:32:36 +0100
commit85d51e57a905ac8f823f345f525837926f4ed2ce (patch)
tree7fc86c9a7743afb0765cc8d822709e12bbc223f1 /OpenSim/Region/Framework
parentRefactored: use Scene.GetAgentHomeURI() to get the Home URI of a user (diff)
downloadopensim-SC_OLD-85d51e57a905ac8f823f345f525837926f4ed2ce.zip
opensim-SC_OLD-85d51e57a905ac8f823f345f525837926f4ed2ce.tar.gz
opensim-SC_OLD-85d51e57a905ac8f823f345f525837926f4ed2ce.tar.bz2
opensim-SC_OLD-85d51e57a905ac8f823f345f525837926f4ed2ce.tar.xz
When sending QueryAccess to a region, also send the user's Home URI
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 3ff21ea..4013fa7 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -5466,11 +5466,12 @@ namespace OpenSim.Region.Framework.Scenes
5466 /// or corssing the broder walking, but will NOT prevent 5466 /// or corssing the broder walking, but will NOT prevent
5467 /// child agent creation, thereby emulating the SL behavior. 5467 /// child agent creation, thereby emulating the SL behavior.
5468 /// </remarks> 5468 /// </remarks>
5469 /// <param name='agentID'></param> 5469 /// <param name='agentID'>The visitor's User ID</param>
5470 /// <param name="agentHomeURI">The visitor's Home URI (may be null)</param>
5470 /// <param name='position'></param> 5471 /// <param name='position'></param>
5471 /// <param name='reason'></param> 5472 /// <param name='reason'></param>
5472 /// <returns></returns> 5473 /// <returns></returns>
5473 public bool QueryAccess(UUID agentID, Vector3 position, out string reason) 5474 public bool QueryAccess(UUID agentID, string agentHomeURI, Vector3 position, out string reason)
5474 { 5475 {
5475 reason = "You are banned from the region"; 5476 reason = "You are banned from the region";
5476 5477