aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-04-23 00:16:55 +0100
committerJustin Clark-Casey (justincc)2011-04-23 00:16:55 +0100
commitd5256094d975583876766b630bcf0ede1d3dd3e4 (patch)
tree8ab3e34b7924e7bbc8b79b606803497c16ad0adf
parentMerge branch 'master' of /home/opensim/var/repo/opensim (diff)
downloadopensim-SC_OLD-d5256094d975583876766b630bcf0ede1d3dd3e4.zip
opensim-SC_OLD-d5256094d975583876766b630bcf0ede1d3dd3e4.tar.gz
opensim-SC_OLD-d5256094d975583876766b630bcf0ede1d3dd3e4.tar.bz2
opensim-SC_OLD-d5256094d975583876766b630bcf0ede1d3dd3e4.tar.xz
print invalid command message to the console, not the log
-rw-r--r--OpenSim/Framework/Console/CommandConsole.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs
index 52bcd55..be36cf2 100644
--- a/OpenSim/Framework/Console/CommandConsole.cs
+++ b/OpenSim/Framework/Console/CommandConsole.cs
@@ -592,9 +592,7 @@ namespace OpenSim.Framework.Console
592 string line = ReadLine(m_defaultPrompt + "# ", true, true); 592 string line = ReadLine(m_defaultPrompt + "# ", true, true);
593 593
594 if (line != String.Empty) 594 if (line != String.Empty)
595 { 595 Output("Invalid command");
596 m_log.Info("[CONSOLE] Invalid command");
597 }
598 } 596 }
599 597
600 public void RunCommand(string cmd) 598 public void RunCommand(string cmd)