diff options
author | Justin Clark-Casey (justincc) | 2010-11-17 23:50:23 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-11-17 23:50:23 +0000 |
commit | 859234f963115eb4307b09dc888adfaeed9537b8 (patch) | |
tree | 4fc8121db2daed365d3363af1421fd06c6ff32fb /OpenSim | |
parent | save all lines to history, not just those which turn out to be valid comands.... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Framework/Console/LocalConsole.cs | 2 |
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 | } |