Dont' bother with a userAgentService != null check right after we've constructed it
parent
57cffcd1ec
commit
6b0553ed7c
|
@ -335,13 +335,13 @@ namespace OpenSim.Services.HypergridService
|
||||||
}
|
}
|
||||||
|
|
||||||
if (userURL == m_ExternalName)
|
if (userURL == m_ExternalName)
|
||||||
|
{
|
||||||
return m_UserAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID);
|
return m_UserAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Object[] args = new Object[] { userURL };
|
|
||||||
IUserAgentService userAgentService = new UserAgentServiceConnector(userURL);
|
IUserAgentService userAgentService = new UserAgentServiceConnector(userURL);
|
||||||
if (userAgentService != null)
|
|
||||||
{
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return userAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID);
|
return userAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID);
|
||||||
|
@ -352,7 +352,6 @@ namespace OpenSim.Services.HypergridService
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue