summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs
index 30a75c5..a0b1e5c 100644
--- a/src/repl/handler.rs
+++ b/src/repl/handler.rs
@@ -71,7 +71,7 @@ impl ReplCmdHandler {
print_now!("{}\n\n", output.trim_end());
}
ReplCmd::ClearRole => {
- self.config.lock().role = None;
+ self.config.lock().clear_role()?;
print_now!("\n");
}
ReplCmd::Prompt(prompt) => {