aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Server/Handlers/Hypergrid/HGInventoryServerInConnector.cs2
-rw-r--r--OpenSim/Services/HypergridService/UserAgentService.cs4
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/HGInventoryServerInConnector.cs b/OpenSim/Server/Handlers/Hypergrid/HGInventoryServerInConnector.cs
index a537067..41897eb 100644
--- a/OpenSim/Server/Handlers/Hypergrid/HGInventoryServerInConnector.cs
+++ b/OpenSim/Server/Handlers/Hypergrid/HGInventoryServerInConnector.cs
@@ -80,7 +80,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
80 /// <returns></returns> 80 /// <returns></returns>
81 public override bool CheckAuthSession(string session_id, string avatar_id) 81 public override bool CheckAuthSession(string session_id, string avatar_id)
82 { 82 {
83 m_log.InfoFormat("[HG INVENTORY IN CONNECTOR]: checking authed session {0} {1}", session_id, avatar_id); 83 //m_log.InfoFormat("[HG INVENTORY IN CONNECTOR]: checking authed session {0} {1}", session_id, avatar_id);
84 // This doesn't work 84 // This doesn't work
85 85
86 // if (m_session_cache.getCachedSession(session_id, avatar_id) == null) 86 // if (m_session_cache.getCachedSession(session_id, avatar_id) == null)
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);