Improve health reporting

This commit is contained in:
Melanie
2010-12-03 07:27:29 +01:00
parent e913e1690e
commit b940925173
2 changed files with 23 additions and 11 deletions

View File

@@ -2632,8 +2632,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController
else throw new Exception("neither region_name nor region_uuid given");
Scene scene = m_application.SceneManager.CurrentScene;
int health = scene.GetHealth();
int flags;
string text;
int health = scene.GetHealth(out flags, out text);
responseData["health"] = health;
responseData["flags"] = health;
responseData["message"] = health;
response.Value = responseData;
}