diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs index 7aadb87..e86d186 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs | |||
@@ -84,10 +84,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
84 | 84 | ||
85 | public void InitialiseService(IConfigSource configSource) | 85 | public void InitialiseService(IConfigSource configSource) |
86 | { | 86 | { |
87 | ServiceVersion = "SIMULATION/0.2"; | ||
87 | IConfig config = configSource.Configs["SimulationService"]; | 88 | IConfig config = configSource.Configs["SimulationService"]; |
88 | if (config != null) | 89 | if (config != null) |
89 | { | 90 | { |
90 | ServiceVersion = config.GetString("ConnectorProtocolVersion", "SIMULATION/0.2"); | 91 | ServiceVersion = config.GetString("ConnectorProtocolVersion", ServiceVersion); |
91 | 92 | ||
92 | if (ServiceVersion != "SIMULATION/0.1" && ServiceVersion != "SIMULATION/0.2") | 93 | if (ServiceVersion != "SIMULATION/0.1" && ServiceVersion != "SIMULATION/0.2") |
93 | throw new Exception(string.Format("Invalid ConnectorProtocolVersion {0}", ServiceVersion)); | 94 | throw new Exception(string.Format("Invalid ConnectorProtocolVersion {0}", ServiceVersion)); |