aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rwxr-xr-xOpenSim/Framework/Console/ConsoleBase.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 75dbe11..8748b25 100755
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -163,9 +163,7 @@ namespace OpenSim.Framework.Console
163 { 163 {
164 itisdone = true; 164 itisdone = true;
165 165
166 ret = Prompt(p, def); 166 if (def == null)
167
168 if (def != null)
169 ret = ReadLine(String.Format("{0}: ", p), false, echo); 167 ret = ReadLine(String.Format("{0}: ", p), false, echo);
170 else 168 else
171 ret = ReadLine(String.Format("{0} [{1}]: ", p, def), false, echo); 169 ret = ReadLine(String.Format("{0} [{1}]: ", p, def), false, echo);