diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 7a1956f..2930753 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -1724,8 +1724,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1724 | 1724 | ||
1725 | private void XmlRpcRegionQueryMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) | 1725 | private void XmlRpcRegionQueryMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) |
1726 | { | 1726 | { |
1727 | m_log.Info("[RADMIN]: Received Query XML Administrator Request"); | ||
1728 | |||
1729 | Hashtable responseData = (Hashtable)response.Value; | 1727 | Hashtable responseData = (Hashtable)response.Value; |
1730 | Hashtable requestData = (Hashtable)request.Params[0]; | 1728 | Hashtable requestData = (Hashtable)request.Params[0]; |
1731 | 1729 | ||
@@ -1736,16 +1734,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1736 | UUID region_uuid = (UUID) (string) requestData["region_uuid"]; | 1734 | UUID region_uuid = (UUID) (string) requestData["region_uuid"]; |
1737 | if (!m_application.SceneManager.TrySetCurrentScene(region_uuid)) | 1735 | if (!m_application.SceneManager.TrySetCurrentScene(region_uuid)) |
1738 | throw new Exception(String.Format("failed to switch to region {0}", region_uuid.ToString())); | 1736 | throw new Exception(String.Format("failed to switch to region {0}", region_uuid.ToString())); |
1739 | |||
1740 | m_log.InfoFormat("[RADMIN]: Switched to region {0}", region_uuid.ToString()); | ||
1741 | } | 1737 | } |
1742 | else if (requestData.Contains("region_name")) | 1738 | else if (requestData.Contains("region_name")) |
1743 | { | 1739 | { |
1744 | string region_name = (string) requestData["region_name"]; | 1740 | string region_name = (string) requestData["region_name"]; |
1745 | if (!m_application.SceneManager.TrySetCurrentScene(region_name)) | 1741 | if (!m_application.SceneManager.TrySetCurrentScene(region_name)) |
1746 | throw new Exception(String.Format("failed to switch to region {0}", region_name)); | 1742 | throw new Exception(String.Format("failed to switch to region {0}", region_name)); |
1747 | |||
1748 | m_log.InfoFormat("[RADMIN]: Switched to region {0}", region_name); | ||
1749 | } | 1743 | } |
1750 | else | 1744 | else |
1751 | { | 1745 | { |
@@ -1760,8 +1754,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1760 | responseData["health"] = health; | 1754 | responseData["health"] = health; |
1761 | responseData["flags"] = flags; | 1755 | responseData["flags"] = flags; |
1762 | responseData["message"] = text; | 1756 | responseData["message"] = text; |
1763 | |||
1764 | m_log.Info("[RADMIN]: Query XML Administrator Request complete"); | ||
1765 | } | 1757 | } |
1766 | 1758 | ||
1767 | private void XmlRpcConsoleCommandMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) | 1759 | private void XmlRpcConsoleCommandMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) |