aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-04-23 00:16:55 +0100
committerJustin Clark-Casey (justincc)2011-04-26 00:47:36 +0100
commit191da19bd12d99b76f0e20c52b31a7b11413bb18 (patch)
tree310887bf0f5b916ddf05147e65ae2c2b4e59915d
parentAddresses mantis #5449 -- crashing exception in SendInventoryFolderDetails. (diff)
downloadopensim-SC_OLD-191da19bd12d99b76f0e20c52b31a7b11413bb18.zip
opensim-SC_OLD-191da19bd12d99b76f0e20c52b31a7b11413bb18.tar.gz
opensim-SC_OLD-191da19bd12d99b76f0e20c52b31a7b11413bb18.tar.bz2
opensim-SC_OLD-191da19bd12d99b76f0e20c52b31a7b11413bb18.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)