Merge branch 'master' into varregion

This commit is contained in:
Robert Adams
2013-11-15 14:56:13 -08:00
34 changed files with 171 additions and 100 deletions

View File

@@ -909,7 +909,7 @@ namespace OpenSim
regInfo.EstateSettings = EstateDataService.LoadEstateSettings(regInfo.RegionID, true);
string newName;
if (estateName != null && estateName != "")
if (!string.IsNullOrEmpty(estateName))
newName = estateName;
else
newName = MainConsole.Instance.CmdPrompt("New estate name", regInfo.EstateSettings.EstateName);