mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Remove unnecessary debug message
* Bug fix in UserAgentService, logout
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user