aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-06 14:30:50 +0000
committerJustin Clarke Casey2009-01-06 14:30:50 +0000
commit579f11b3b892a92c672a919b361b6961d302d234 (patch)
tree4e86b0957684f4b024c0f9c44cfb6d2faeed3ccb /OpenSim/Region/Environment/Modules/World
parent* refactor: drop AddXmlRpcHandler() from scene in favour of call via CommsMan... (diff)
downloadopensim-SC-579f11b3b892a92c672a919b361b6961d302d234.zip
opensim-SC-579f11b3b892a92c672a919b361b6961d302d234.tar.gz
opensim-SC-579f11b3b892a92c672a919b361b6961d302d234.tar.bz2
opensim-SC-579f11b3b892a92c672a919b361b6961d302d234.tar.xz
* refactor: call AddLLSDHandler directly via CommsManager
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs
index 50fb028..dd2fb49 100644
--- a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs
@@ -125,7 +125,8 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap
125 m_log.Warn("[WORLD MAP]: JPEG Map location: http://" + m_scene.RegionInfo.ExternalEndPoint.Address.ToString() + ":" + m_scene.RegionInfo.HttpPort.ToString() + "/index.php?method=" + regionimage); 125 m_log.Warn("[WORLD MAP]: JPEG Map location: http://" + m_scene.RegionInfo.ExternalEndPoint.Address.ToString() + ":" + m_scene.RegionInfo.HttpPort.ToString() + "/index.php?method=" + regionimage);
126 126
127 m_scene.AddHTTPHandler(regionimage, OnHTTPGetMapImage); 127 m_scene.AddHTTPHandler(regionimage, OnHTTPGetMapImage);
128 m_scene.AddLLSDHandler("/MAP/MapItems/" + m_scene.RegionInfo.RegionHandle.ToString(), HandleRemoteMapItemRequest); 128 m_scene.CommsManager.HttpServer.AddLLSDHandler(
129 "/MAP/MapItems/" + m_scene.RegionInfo.RegionHandle.ToString(), HandleRemoteMapItemRequest);
129 130
130 m_scene.EventManager.OnRegisterCaps += OnRegisterCaps; 131 m_scene.EventManager.OnRegisterCaps += OnRegisterCaps;
131 m_scene.EventManager.OnNewClient += OnNewClient; 132 m_scene.EventManager.OnNewClient += OnNewClient;