aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/LogBase.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs
index 2b831fe..5f16303 100644
--- a/OpenSim/Framework/Console/LogBase.cs
+++ b/OpenSim/Framework/Console/LogBase.cs
@@ -409,9 +409,15 @@ namespace OpenSim.Framework.Console
409 409
410 public void MainLogPrompt() 410 public void MainLogPrompt()
411 { 411 {
412 string[] tempstrarray; 412
413 string tempstr = this.CmdPrompt(this.componentname + "# "); 413 string tempstr = this.CmdPrompt(this.componentname + "# ");
414 tempstrarray = tempstr.Split(' '); 414 MainLogRunCommand(tempstr);
415 }
416
417 public void MainLogRunCommand(string command)
418 {
419 string[] tempstrarray;
420 tempstrarray = command.Split(' ');
415 string cmd = tempstrarray[0]; 421 string cmd = tempstrarray[0];
416 Array.Reverse(tempstrarray); 422 Array.Reverse(tempstrarray);
417 Array.Resize<string>(ref tempstrarray, tempstrarray.Length - 1); 423 Array.Resize<string>(ref tempstrarray, tempstrarray.Length - 1);