diff options
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs index 3b25a52..6c83aff 100644 --- a/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs +++ b/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs | |||
@@ -41,17 +41,10 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
41 | { | 41 | { |
42 | public class HeloServiceConnector : ServiceConnector | 42 | public class HeloServiceConnector : ServiceConnector |
43 | { | 43 | { |
44 | private string m_ConfigName = "HeloService"; | ||
45 | |||
46 | public HeloServiceConnector(IConfigSource config, IHttpServer server, string configName) : | 44 | public HeloServiceConnector(IConfigSource config, IHttpServer server, string configName) : |
47 | base(config, server, configName) | 45 | base(config, server, configName) |
48 | { | 46 | { |
49 | IConfig serverConfig = config.Configs[m_ConfigName]; | 47 | server.AddStreamHandler(new HeloServerGetHandler("opensim-robust")); |
50 | if (serverConfig == null) | ||
51 | throw new Exception(String.Format("No section {0} in config file", m_ConfigName)); | ||
52 | |||
53 | string handlers = serverConfig.GetString("Handlers", "opensim-robust"); | ||
54 | server.AddStreamHandler(new HeloServerGetHandler(handlers)); | ||
55 | } | 48 | } |
56 | } | 49 | } |
57 | 50 | ||