mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Revert "Use current TravelingAgent if the login failure reason is "Logins Disabled" to fix NullReferenceException, allowing agent to login to fallback region when logins are disabled by "StartDisabled = true" or when logins are disabled by RegionReady"
This reverts commit 4b9e446c62.
This commit is contained in:
@@ -197,11 +197,8 @@ namespace OpenSim.Services.HypergridService
|
||||
agentCircuit.firstname, agentCircuit.lastname, region.ServerURI, reason);
|
||||
|
||||
// restore the old travel info
|
||||
if(reason != "Logins Disabled")
|
||||
{
|
||||
lock (m_TravelingAgents)
|
||||
m_TravelingAgents[agentCircuit.SessionID] = old;
|
||||
}
|
||||
lock (m_TravelingAgents)
|
||||
m_TravelingAgents[agentCircuit.SessionID] = old;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user