diff options
author | Diva Canto | 2010-05-08 12:21:17 -0700 |
---|---|---|
committer | Diva Canto | 2010-05-08 12:21:17 -0700 |
commit | c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157 (patch) | |
tree | 8abc06a83f63a40a5ed35737f4438e1f7c5a8668 /OpenSim/Services/HypergridService/UserAgentService.cs | |
parent | More cleaning on presence. Friends online/offline works again. (diff) | |
download | opensim-SC_OLD-c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157.zip opensim-SC_OLD-c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157.tar.gz opensim-SC_OLD-c1fe07b02248b66d45fbbbd6f8e3db3fe3bdc157.tar.bz2 opensim-SC_OLD-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 '')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index 3af7ef9..64f7e8a 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs | |||
@@ -185,6 +185,10 @@ namespace OpenSim.Services.HypergridService | |||
185 | foreach (UUID session in travels) | 185 | foreach (UUID session in travels) |
186 | m_TravelingAgents.Remove(session); | 186 | m_TravelingAgents.Remove(session); |
187 | } | 187 | } |
188 | |||
189 | GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(userID.ToString()); | ||
190 | if (guinfo != null) | ||
191 | m_GridUserService.LoggedOut(userID.ToString(), guinfo.LastRegionID, guinfo.LastPosition, guinfo.LastLookAt); | ||
188 | } | 192 | } |
189 | 193 | ||
190 | // We need to prevent foreign users with the same UUID as a local user | 194 | // We need to prevent foreign users with the same UUID as a local user |