diff options
author | Jonathan Freedman | 2010-10-02 19:17:02 -0400 |
---|---|---|
committer | Jonathan Freedman | 2010-10-02 19:17:02 -0400 |
commit | 32ccc7a9d912543c0a5d3f8db839734194f3d8dd (patch) | |
tree | 9822d8a2ea479b4a8d26ae7cc4df0124db201c56 /OpenSim/Framework/RegionInfo.cs | |
parent | So, the client can have an old idea of the object properties for the object w... (diff) | |
download | opensim-SC-32ccc7a9d912543c0a5d3f8db839734194f3d8dd.zip opensim-SC-32ccc7a9d912543c0a5d3f8db839734194f3d8dd.tar.gz opensim-SC-32ccc7a9d912543c0a5d3f8db839734194f3d8dd.tar.bz2 opensim-SC-32ccc7a9d912543c0a5d3f8db839734194f3d8dd.tar.xz |
* refactor refactor refactor ServerURI 4 lyfe
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 | ||