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.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 6405811..ea9edf6 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -860,7 +860,7 @@ namespace OpenSim
860 = MainConsole.Instance.CmdPrompt( 860 = MainConsole.Instance.CmdPrompt(
861 string.Format( 861 string.Format(
862 "Do you wish to join region {0} to an existing estate (yes/no)?", regInfo.RegionName), 862 "Do you wish to join region {0} to an existing estate (yes/no)?", regInfo.RegionName),
863 "no", 863 "yes",
864 new List<string>() { "yes", "no" }); 864 new List<string>() { "yes", "no" });
865 865
866 if (response == "no") 866 if (response == "no")
@@ -876,15 +876,12 @@ namespace OpenSim
876 = MainConsole.Instance.CmdPrompt( 876 = MainConsole.Instance.CmdPrompt(
877 string.Format( 877 string.Format(
878 "Name of estate to join. Existing estate names are ({0})", string.Join(", ", estateNames.ToArray())), 878 "Name of estate to join. Existing estate names are ({0})", string.Join(", ", estateNames.ToArray())),
879 "None"); 879 estateNames[0]);
880
881 if (response == "None")
882 continue;
883 880
884 List<int> estateIDs = EstateDataService.GetEstates(response); 881 List<int> estateIDs = EstateDataService.GetEstates(response);
885 if (estateIDs.Count < 1) 882 if (estateIDs.Count < 1)
886 { 883 {
887 MainConsole.Instance.Output("The name you have entered matches no known estate. Please try again."); 884 MainConsole.Instance.Output("The name you have entered matches no known estate. Please try again.");
888 continue; 885 continue;
889 } 886 }
890 887