From b94092517365fd557ca85142d315e746056dcfeb Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 3 Dec 2010 07:27:29 +0100 Subject: Improve health reporting --- OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/ApplicationPlugins/RemoteController') diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index f3f79bc..a75cc60 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs @@ -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; } -- cgit v1.1