diff options
author | Justin Clarke Casey | 2009-01-06 14:44:45 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-06 14:44:45 +0000 |
commit | fde6a1665cf052194c7480be01048bb4bb549d7e (patch) | |
tree | 876b961fc82e750adacea91f45f00c7ced20222a /OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | |
parent | * refactor: call AddStreamHandler() directly via CommsManager (diff) | |
download | opensim-SC_OLD-fde6a1665cf052194c7480be01048bb4bb549d7e.zip opensim-SC_OLD-fde6a1665cf052194c7480be01048bb4bb549d7e.tar.gz opensim-SC_OLD-fde6a1665cf052194c7480be01048bb4bb549d7e.tar.bz2 opensim-SC_OLD-fde6a1665cf052194c7480be01048bb4bb549d7e.tar.xz |
* refactor: call AddHttpHandler() directly via CommsManager
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs index dd2fb49..6ce82ad 100644 --- a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | |||
@@ -124,7 +124,7 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap | |||
124 | regionimage = regionimage.Replace("-", ""); | 124 | regionimage = regionimage.Replace("-", ""); |
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.CommsManager.HttpServer.AddHTTPHandler(regionimage, OnHTTPGetMapImage); |
128 | m_scene.CommsManager.HttpServer.AddLLSDHandler( | 128 | m_scene.CommsManager.HttpServer.AddLLSDHandler( |
129 | "/MAP/MapItems/" + m_scene.RegionInfo.RegionHandle.ToString(), HandleRemoteMapItemRequest); | 129 | "/MAP/MapItems/" + m_scene.RegionInfo.RegionHandle.ToString(), HandleRemoteMapItemRequest); |
130 | 130 | ||