diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 6 |
1 files changed, 5 insertions, 1 deletions
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 | |||
2632 | else throw new Exception("neither region_name nor region_uuid given"); | 2632 | else throw new Exception("neither region_name nor region_uuid given"); |
2633 | 2633 | ||
2634 | Scene scene = m_application.SceneManager.CurrentScene; | 2634 | Scene scene = m_application.SceneManager.CurrentScene; |
2635 | int health = scene.GetHealth(); | 2635 | int flags; |
2636 | string text; | ||
2637 | int health = scene.GetHealth(out flags, out text); | ||
2636 | responseData["health"] = health; | 2638 | responseData["health"] = health; |
2639 | responseData["flags"] = health; | ||
2640 | responseData["message"] = health; | ||
2637 | 2641 | ||
2638 | response.Value = responseData; | 2642 | response.Value = responseData; |
2639 | } | 2643 | } |