diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs index d084a73..3dcd1e3 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/MiscCapsModule.cs | |||
@@ -66,6 +66,12 @@ namespace OpenSim.Region.ClientStack.Linden | |||
66 | return; | 66 | return; |
67 | 67 | ||
68 | m_MapImageServerURL = config.GetString("Cap_MapImageService", string.Empty); | 68 | m_MapImageServerURL = config.GetString("Cap_MapImageService", string.Empty); |
69 | if (m_MapImageServerURL != string.Empty) | ||
70 | { | ||
71 | m_MapImageServerURL = m_MapImageServerURL.Trim(); | ||
72 | if (!m_MapImageServerURL.EndsWith("/")) | ||
73 | m_MapImageServerURL = m_MapImageServerURL + "/"; | ||
74 | } | ||
69 | } | 75 | } |
70 | 76 | ||
71 | public void AddRegion(Scene s) | 77 | public void AddRegion(Scene s) |