Fix a null ref that will cause an exception if a grid region doesnt' specify a URI.

avinationmerge
Melanie Thielker 2014-08-23 19:10:15 +02:00
parent d34599b1a5
commit 39e052982b
1 changed files with 6 additions and 0 deletions

View File

@ -141,6 +141,12 @@ namespace OpenSim.Services.Interfaces
}
}
set {
if ( value == null)
{
m_serverURI = String.Empty;
return;
}
if ( value.EndsWith("/") ) {
m_serverURI = value;
} else {