aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 4891c1a..f663c77 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -985,7 +985,7 @@ namespace OpenSim
985 regInfo.EstateSettings = EstateDataService.LoadEstateSettings(regInfo.RegionID, true); 985 regInfo.EstateSettings = EstateDataService.LoadEstateSettings(regInfo.RegionID, true);
986 986
987 string newName; 987 string newName;
988 if (estateName != null && estateName != "") 988 if (!string.IsNullOrEmpty(estateName))
989 newName = estateName; 989 newName = estateName;
990 else 990 else
991 newName = MainConsole.Instance.CmdPrompt("New estate name", regInfo.EstateSettings.EstateName); 991 newName = MainConsole.Instance.CmdPrompt("New estate name", regInfo.EstateSettings.EstateName);