Revert "* additional serveruri cleanup"

This reverts commit 19119d7705.
This commit is contained in:
Justin Clark-Casey (justincc)
2010-10-22 23:34:53 +01:00
parent a490b34b6e
commit 783b1b548f
8 changed files with 54 additions and 20 deletions

View File

@@ -579,7 +579,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
if (mreg != null)
{
httpserver = mreg.ServerURI + "MAP/MapItems/" + regionhandle.ToString();
httpserver = "http://" + mreg.ExternalEndPoint.Address.ToString() + ":" + mreg.HttpPort + "/MAP/MapItems/" + regionhandle.ToString();
lock (m_cachedRegionMapItemsAddress)
{
if (!m_cachedRegionMapItemsAddress.ContainsKey(regionhandle))