diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs b/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs index 8a31579..88d774a 100644 --- a/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs +++ b/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs | |||
@@ -128,7 +128,7 @@ namespace OpenSim.Server.Handlers.MapImage | |||
128 | if (m_GridService != null) | 128 | if (m_GridService != null) |
129 | { | 129 | { |
130 | System.Net.IPAddress ipAddr = GetCallerIP(httpRequest); | 130 | System.Net.IPAddress ipAddr = GetCallerIP(httpRequest); |
131 | GridRegion r = m_GridService.GetRegionByPosition(UUID.Zero, x * (int)Constants.RegionSize, y * (int)Constants.RegionSize); | 131 | GridRegion r = m_GridService.GetRegionByPosition(UUID.Zero, (int)Util.RegionToWorldLoc((uint)x), (int)Util.RegionToWorldLoc((uint)y)); |
132 | if (r != null) | 132 | if (r != null) |
133 | { | 133 | { |
134 | if (r.ExternalEndPoint.Address.ToString() != ipAddr.ToString()) | 134 | if (r.ExternalEndPoint.Address.ToString() != ipAddr.ToString()) |