diff options
author | Jonathan Freedman | 2010-10-02 19:17:02 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2010-10-20 22:21:23 -0400 |
commit | 55974df14b6d64c1e1f9e386a3eacce3ba86dc98 (patch) | |
tree | 1695b00c4f523f2588b15051b0cfe919d14989e8 /OpenSim/Framework/RegionInfo.cs | |
parent | Deleted verbose debug messages that are bringing sims to an halt. Increased t... (diff) | |
download | opensim-SC-55974df14b6d64c1e1f9e386a3eacce3ba86dc98.zip opensim-SC-55974df14b6d64c1e1f9e386a3eacce3ba86dc98.tar.gz opensim-SC-55974df14b6d64c1e1f9e386a3eacce3ba86dc98.tar.bz2 opensim-SC-55974df14b6d64c1e1f9e386a3eacce3ba86dc98.tar.xz |
* refactor refactor refactor ServerURI 4 lyfe
Diffstat (limited to '')
-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 | ||