diff options
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index b2dec96..c7d1869 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -107,7 +107,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
107 | string uri = string.Empty; | 107 | string uri = string.Empty; |
108 | 108 | ||
109 | // HACK -- Simian grid make it work!!! | 109 | // HACK -- Simian grid make it work!!! |
110 | if (destination.ServerURI != string.Empty && !destination.ServerURI.StartsWith("http:")) | 110 | if (destination != null && destination.ServerURI != string.Empty && !destination.ServerURI.StartsWith("http:")) |
111 | uri = "http://" + destination.ServerURI + AgentPath() + aCircuit.AgentID + "/"; | 111 | uri = "http://" + destination.ServerURI + AgentPath() + aCircuit.AgentID + "/"; |
112 | else | 112 | else |
113 | { | 113 | { |