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

This commit is contained in:
Melanie Thielker
2014-08-23 19:10:15 +02:00
parent d34599b1a5
commit 39e052982b

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 {