From c724e3843399e63c895bd82856496fb3cc64ad57 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 25 Jul 2008 17:06:26 +0000 Subject: oops. forgot to add addin.xml for GridInfoPlugin. also, slight reordering of plugin initialisation to ensure that it will return base information about grid, even if [GridInfo] config section is not there. --- OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs') 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 } _info["platform"] = "OpenSim"; + _httpd.AddXmlRPCHandler("get_grid_info", XmlRpcGridInfoMethod); + IConfig gridInfoConfig = _app.ConfigSource.Source.Configs["GridInfo"]; foreach (string k in gridInfoConfig.GetKeys()) { _info[k] = gridInfoConfig.GetString(k); } - _httpd.AddXmlRPCHandler("get_grid_info", XmlRpcGridInfoMethod); } catch (NullReferenceException) { -- cgit v1.1