summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index a7b2573..5a741c2 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -475,7 +475,7 @@ impl Repl {
},
".clear" => match args {
Some("messages") => {
- self.config.write().clear_session_messages()?;
+ self.config.write().empty_session()?;
}
_ => unknown_command()?,
},