diff options
Diffstat (limited to 'OpenSim/Framework/Console/CommandConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 23a2cc8..0f68afe 100644 --- a/OpenSim/Framework/Console/CommandConsole.cs +++ b/OpenSim/Framework/Console/CommandConsole.cs | |||
@@ -433,10 +433,6 @@ namespace OpenSim.Framework.Console | |||
433 | 433 | ||
434 | foreach (string s in cmd) | 434 | foreach (string s in cmd) |
435 | { | 435 | { |
436 | // If a user puts an empty string on the console then this cannot be part of the command. | ||
437 | if (s == "") | ||
438 | break; | ||
439 | |||
440 | index++; | 436 | index++; |
441 | 437 | ||
442 | List<string> found = new List<string>(); | 438 | List<string> found = new List<string>(); |
@@ -447,8 +443,9 @@ namespace OpenSim.Framework.Console | |||
447 | { | 443 | { |
448 | found.Clear(); | 444 | found.Clear(); |
449 | found.Add(opt); | 445 | found.Add(opt); |
446 | break; | ||
450 | } | 447 | } |
451 | else if (opt.StartsWith(s)) | 448 | if (opt.StartsWith(s)) |
452 | { | 449 | { |
453 | found.Add(opt); | 450 | found.Add(opt); |
454 | } | 451 | } |