Last+1 tweak.

This commit is contained in:
Diva Canto
2010-09-03 10:13:41 -07:00
parent 5bbf793f9e
commit a5cce8d6d7

View File

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