diff options
author | Jonathan Freedman | 2010-10-11 16:53:00 -0400 |
---|---|---|
committer | Jonathan Freedman | 2010-10-11 16:53:00 -0400 |
commit | a2167b0f0dfef5f8aeb7bee99f34f672f6004bb3 (patch) | |
tree | 4e1276fe33eb861f3207d7ec3a87880e5f410f54 /OpenSim/Services/Interfaces/IGridService.cs | |
parent | Merge branch 'master' of git://opensimulator.org/git/opensim (diff) | |
download | opensim-SC_OLD-a2167b0f0dfef5f8aeb7bee99f34f672f6004bb3.zip opensim-SC_OLD-a2167b0f0dfef5f8aeb7bee99f34f672f6004bb3.tar.gz opensim-SC_OLD-a2167b0f0dfef5f8aeb7bee99f34f672f6004bb3.tar.bz2 opensim-SC_OLD-a2167b0f0dfef5f8aeb7bee99f34f672f6004bb3.tar.xz |
* more url / hg cleanup
Diffstat (limited to 'OpenSim/Services/Interfaces/IGridService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index bf441e6..6d3bff7 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -115,7 +115,13 @@ namespace OpenSim.Services.Interfaces | |||
115 | /// </summary> | 115 | /// </summary> |
116 | public string ServerURI | 116 | public string ServerURI |
117 | { | 117 | { |
118 | get { return m_serverURI; } | 118 | get { |
119 | if ( m_serverURI != string.Empty ) { | ||
120 | return m_serverURI; | ||
121 | } else { | ||
122 | return "http://" + m_externalHostName + ":" + m_httpPort + "/"; | ||
123 | } | ||
124 | } | ||
119 | set { | 125 | set { |
120 | if ( value.EndsWith("/") ) { | 126 | if ( value.EndsWith("/") ) { |
121 | m_serverURI = value; | 127 | m_serverURI = value; |
@@ -170,6 +176,7 @@ namespace OpenSim.Services.Interfaces | |||
170 | 176 | ||
171 | public GridRegion() | 177 | public GridRegion() |
172 | { | 178 | { |
179 | m_serverURI = string.Empty; | ||
173 | } | 180 | } |
174 | 181 | ||
175 | public GridRegion(int regionLocX, int regionLocY, IPEndPoint internalEndPoint, string externalUri) | 182 | public GridRegion(int regionLocX, int regionLocY, IPEndPoint internalEndPoint, string externalUri) |