* Remove unnecessary debug message

* Bug fix in UserAgentService, logout
slimupdates
Diva Canto 2010-01-31 17:27:56 -08:00
parent 0b89afd3e5
commit 35de8e91ec
2 changed files with 4 additions and 2 deletions

View File

@ -80,7 +80,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
/// <returns></returns>
public override bool CheckAuthSession(string session_id, string avatar_id)
{
m_log.InfoFormat("[HG INVENTORY IN CONNECTOR]: checking authed session {0} {1}", session_id, avatar_id);
//m_log.InfoFormat("[HG INVENTORY IN CONNECTOR]: checking authed session {0} {1}", session_id, avatar_id);
// This doesn't work
// if (m_session_cache.getCachedSession(session_id, avatar_id) == null)

View File

@ -152,7 +152,9 @@ namespace OpenSim.Services.HypergridService
{
List<UUID> travels = new List<UUID>();
foreach (KeyValuePair<UUID, TravelingAgentInfo> kvp in m_TravelingAgents)
if (kvp.Value.UserID == userID)
if (kvp.Value == null) // do some clean up
travels.Add(kvp.Key);
else if (kvp.Value.UserID == userID)
travels.Add(kvp.Key);
foreach (UUID session in travels)
m_TravelingAgents.Remove(session);