Last+1 tweak.

prebuild-update
Diva Canto 2010-09-03 10:13:41 -07:00
parent 5bbf793f9e
commit a5cce8d6d7
1 changed files with 1 additions and 1 deletions

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
{