aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService
diff options
context:
space:
mode:
authorDiva Canto2010-01-31 17:27:56 -0800
committerDiva Canto2010-01-31 17:27:56 -0800
commit35de8e91ecfbb87054599f3d0f5781d041648688 (patch)
tree23531162158999bc51da925c4a720be966d31367 /OpenSim/Services/HypergridService
parent* Simplified the configuration by having [DatabaseService] in it (diff)
downloadopensim-SC_OLD-35de8e91ecfbb87054599f3d0f5781d041648688.zip
opensim-SC_OLD-35de8e91ecfbb87054599f3d0f5781d041648688.tar.gz
opensim-SC_OLD-35de8e91ecfbb87054599f3d0f5781d041648688.tar.bz2
opensim-SC_OLD-35de8e91ecfbb87054599f3d0f5781d041648688.tar.xz
* Remove unnecessary debug message
* Bug fix in UserAgentService, logout
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/HypergridService/UserAgentService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs
index 0873a2b..97e3705 100644
--- a/OpenSim/Services/HypergridService/UserAgentService.cs
+++ b/OpenSim/Services/HypergridService/UserAgentService.cs
@@ -152,7 +152,9 @@ namespace OpenSim.Services.HypergridService
152 { 152 {
153 List<UUID> travels = new List<UUID>(); 153 List<UUID> travels = new List<UUID>();
154 foreach (KeyValuePair<UUID, TravelingAgentInfo> kvp in m_TravelingAgents) 154 foreach (KeyValuePair<UUID, TravelingAgentInfo> kvp in m_TravelingAgents)
155 if (kvp.Value.UserID == userID) 155 if (kvp.Value == null) // do some clean up
156 travels.Add(kvp.Key);
157 else if (kvp.Value.UserID == userID)
156 travels.Add(kvp.Key); 158 travels.Add(kvp.Key);
157 foreach (UUID session in travels) 159 foreach (UUID session in travels)
158 m_TravelingAgents.Remove(session); 160 m_TravelingAgents.Remove(session);