diff options
Diffstat (limited to 'src/repl')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 291bcd2..bf5fd8e 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -200,7 +200,7 @@ impl Repl { ".model" => match args { Some(name) => { self.config.write().set_model(name)?; - if self.config.read().state().is_empty() { + if !self.config.read().has_role_or_session() { self.config.write().set_model_id(); } } |
