aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer
diff options
context:
space:
mode:
authorDiva Canto2010-05-08 12:21:17 -0700
committerDiva Canto2010-05-08 12:21:17 -0700
commitc1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157 (patch)
tree8abc06a83f63a40a5ed35737f4438e1f7c5a8668 /OpenSim/Region/CoreModules/Framework/EntityTransfer
parentMore cleaning on presence. Friends online/offline works again. (diff)
downloadopensim-SC-c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157.zip
opensim-SC-c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157.tar.gz
opensim-SC-c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157.tar.bz2
opensim-SC-c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157.tar.xz
* Added missing loggout notification to home grid upon agents logging out in foreign grids.
* Added missing config in StandaloneHypergrid.ini
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
index 137dfec..7d26e3f 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
@@ -245,6 +245,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
245 return; 245 return;
246 } 246 }
247 247
248 // Let's find out if this is a foreign user or a local user
249 UserAccount account = m_aScene.UserAccountService.GetUserAccount(m_aScene.RegionInfo.ScopeID, obj.AgentId);
250 if (account != null)
251 {
252 // local grid user
253 return;
254 }
255
248 AgentCircuitData aCircuit = ((Scene)(obj.Scene)).AuthenticateHandler.GetAgentCircuitData(obj.CircuitCode); 256 AgentCircuitData aCircuit = ((Scene)(obj.Scene)).AuthenticateHandler.GetAgentCircuitData(obj.CircuitCode);
249 257
250 if (aCircuit.ServiceURLs.ContainsKey("HomeURI")) 258 if (aCircuit.ServiceURLs.ContainsKey("HomeURI"))