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>:0bulletsim
parent
49e4e53928
commit
4cf60c5d9d
|
@ -197,9 +197,11 @@ namespace OpenSim.Services.HypergridService
|
||||||
agentCircuit.firstname, agentCircuit.lastname, region.ServerURI, reason);
|
agentCircuit.firstname, agentCircuit.lastname, region.ServerURI, reason);
|
||||||
|
|
||||||
// restore the old travel info
|
// 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;
|
m_TravelingAgents[agentCircuit.SessionID] = old;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue