Last+2 tweak

This commit is contained in:
Diva Canto
2010-09-03 10:31:16 -07:00
parent a5cce8d6d7
commit 0a0f38b23c

View File

@@ -107,7 +107,7 @@ namespace OpenSim.Services.Connectors.Simulation
string uri = string.Empty;
// HACK -- Simian grid make it work!!!
if (destination != null && destination.ServerURI != string.Empty && !destination.ServerURI.StartsWith("http:"))
if (destination.ServerURI != null && destination.ServerURI != string.Empty && !destination.ServerURI.StartsWith("http:"))
uri = "http://" + destination.ServerURI + AgentPath() + aCircuit.AgentID + "/";
else
{