diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs b/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs index d8575d0b..000fa52 100644 --- a/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs +++ b/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs | |||
@@ -82,13 +82,14 @@ namespace OpenSim.ApplicationPlugins.GridInfo | |||
82 | } | 82 | } |
83 | _info["platform"] = "OpenSim"; | 83 | _info["platform"] = "OpenSim"; |
84 | 84 | ||
85 | _httpd.AddXmlRPCHandler("get_grid_info", XmlRpcGridInfoMethod); | ||
86 | |||
85 | IConfig gridInfoConfig = _app.ConfigSource.Source.Configs["GridInfo"]; | 87 | IConfig gridInfoConfig = _app.ConfigSource.Source.Configs["GridInfo"]; |
86 | foreach (string k in gridInfoConfig.GetKeys()) | 88 | foreach (string k in gridInfoConfig.GetKeys()) |
87 | { | 89 | { |
88 | _info[k] = gridInfoConfig.GetString(k); | 90 | _info[k] = gridInfoConfig.GetString(k); |
89 | } | 91 | } |
90 | 92 | ||
91 | _httpd.AddXmlRPCHandler("get_grid_info", XmlRpcGridInfoMethod); | ||
92 | } | 93 | } |
93 | catch (NullReferenceException) | 94 | catch (NullReferenceException) |
94 | { | 95 | { |