mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Made it impossible to create a user with names containing spaces and prevented passwords from being echoed after enter is pressed.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
29708e47a5
commit
30306a775a
@@ -461,7 +461,8 @@ namespace OpenSim.Framework.Console
|
||||
SetCursorLeft(0);
|
||||
y = SetCursorTop(y);
|
||||
|
||||
System.Console.WriteLine("{0}{1}", prompt, cmdline);
|
||||
System.Console.WriteLine();
|
||||
//Show();
|
||||
|
||||
lock (cmdline)
|
||||
{
|
||||
@@ -486,7 +487,7 @@ namespace OpenSim.Framework.Console
|
||||
}
|
||||
}
|
||||
|
||||
AddToHistory(cmdline.ToString());
|
||||
//AddToHistory(cmdline.ToString());
|
||||
return cmdline.ToString();
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user