Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/console.cc')
-rw-r--r--src/client/console.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/console.cc b/src/client/console.cc
index e3c4288..96da900 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -32,14 +32,12 @@ Console *console() {
void Console::init()
{
con_print << "^BInitializing console..." << std::endl;
-
console()->load_history();
}
void Console::shutdown()
{
con_print << "^BShutting down console..." << std::endl;
-
console()->save_history();
}
@@ -192,7 +190,6 @@ void Console::keypressed(unsigned int key)
void Console::save_history()
{
-
if (history.size() <= 1)
return;
@@ -539,3 +536,4 @@ void Console::notify(std::string const & message)
}
} // namespace client
+