mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Removing special casing on failures. This may also fix reports of this issue:
22:07:53 - [USER AGENT CONNECTOR]: remote call to http://hg.osgrid.org:80/ returned an error: Requested method [locate_user] from 127.0.0.1 threw exception: Object reference not set to an instance of an object at OpenSim.Services.HypergridService.UserAgentService.LocateUser (UUID userID) [0x00000] in <filename unknown>:0
This commit is contained in:
@@ -197,9 +197,11 @@ namespace OpenSim.Services.HypergridService
|
||||
agentCircuit.firstname, agentCircuit.lastname, region.ServerURI, reason);
|
||||
|
||||
// restore the old travel info
|
||||
if(reason != "Logins Disabled")
|
||||
lock (m_TravelingAgents)
|
||||
{
|
||||
lock (m_TravelingAgents)
|
||||
if (old == null)
|
||||
m_TravelingAgents.Remove(agentCircuit.SessionID);
|
||||
else
|
||||
m_TravelingAgents[agentCircuit.SessionID] = old;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user