aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-11-17 23:50:23 +0000
committerJustin Clark-Casey (justincc)2010-11-17 23:50:23 +0000
commit859234f963115eb4307b09dc888adfaeed9537b8 (patch)
tree4fc8121db2daed365d3363af1421fd06c6ff32fb /OpenSim/Framework/Console
parentsave all lines to history, not just those which turn out to be valid comands.... (diff)
downloadopensim-SC_OLD-859234f963115eb4307b09dc888adfaeed9537b8.zip
opensim-SC_OLD-859234f963115eb4307b09dc888adfaeed9537b8.tar.gz
opensim-SC_OLD-859234f963115eb4307b09dc888adfaeed9537b8.tar.bz2
opensim-SC_OLD-859234f963115eb4307b09dc888adfaeed9537b8.tar.xz
small refactor: reuse existing commandLine string rather than calling cmdline.ToString() again
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/LocalConsole.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs
index 6966211..eda41b8 100644
--- a/OpenSim/Framework/Console/LocalConsole.cs
+++ b/OpenSim/Framework/Console/LocalConsole.cs
@@ -497,7 +497,7 @@ namespace OpenSim.Framework.Console
497 if (echo && commandLine != "") 497 if (echo && commandLine != "")
498 AddToHistory(commandLine); 498 AddToHistory(commandLine);
499 499
500 return cmdline.ToString(); 500 return commandLine;
501 default: 501 default:
502 break; 502 break;
503 } 503 }