aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorrandomhuman2010-09-05 21:44:46 +0100
committerJustin Clark-Casey (justincc)2010-09-10 23:19:18 +0100
commit30306a775af74e1fe080590998a71a4c7e64ad12 (patch)
treee1fc438132054d2b43cd6ff8ee133219bafad1dd /OpenSim/Region/Framework/Scenes
parentMerge branch 'prebuild-update' (diff)
downloadopensim-SC_OLD-30306a775af74e1fe080590998a71a4c7e64ad12.zip
opensim-SC_OLD-30306a775af74e1fe080590998a71a4c7e64ad12.tar.gz
opensim-SC_OLD-30306a775af74e1fe080590998a71a4c7e64ad12.tar.bz2
opensim-SC_OLD-30306a775af74e1fe080590998a71a4c7e64ad12.tar.xz
Made it impossible to create a user with names containing spaces and prevented passwords from being echoed after enter is pressed.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 7ce95a7..6fa78e0 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1159,8 +1159,9 @@ namespace OpenSim.Region.Framework.Scenes
1159 while (m_regInfo.EstateSettings.EstateOwner == UUID.Zero && MainConsole.Instance != null) 1159 while (m_regInfo.EstateSettings.EstateOwner == UUID.Zero && MainConsole.Instance != null)
1160 { 1160 {
1161 MainConsole.Instance.Output("The current estate has no owner set."); 1161 MainConsole.Instance.Output("The current estate has no owner set.");
1162 string first = MainConsole.Instance.CmdPrompt("Estate owner first name", "Test"); 1162 List<char> excluded = new List<char>(new char[1]{' '});
1163 string last = MainConsole.Instance.CmdPrompt("Estate owner last name", "User"); 1163 string first = MainConsole.Instance.CmdPrompt("Estate owner first name", "Test", excluded);
1164 string last = MainConsole.Instance.CmdPrompt("Estate owner last name", "User", excluded);
1164 1165
1165 UserAccount account = UserAccountService.GetUserAccount(m_regInfo.ScopeID, first, last); 1166 UserAccount account = UserAccountService.GetUserAccount(m_regInfo.ScopeID, first, last);
1166 1167