diff options
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 08d5398..949a289 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -116,7 +116,13 @@ namespace OpenSim.Framework | |||
116 | public string ServerURI | 116 | public string ServerURI |
117 | { | 117 | { |
118 | get { return m_serverURI; } | 118 | get { return m_serverURI; } |
119 | set { m_serverURI = value; } | 119 | set { |
120 | if ( value.EndsWith("/") ) { | ||
121 | m_serverURI = value; | ||
122 | } else { | ||
123 | m_serverURI = value + '/'; | ||
124 | } | ||
125 | } | ||
120 | } | 126 | } |
121 | protected string m_serverURI; | 127 | protected string m_serverURI; |
122 | 128 | ||