diff options
| author | sigoden <sigoden@gmail.com> | 2024-12-03 17:58:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-03 17:58:27 +0800 |
| commit | 46348dfb1d65e6077ebb6441dcfdeeca003c27cb (patch) | |
| tree | 8ca4edada69e1efa3e9a2c293019fc32dfbbb647 /src/repl/mod.rs | |
| parent | 6b6413b02df588faf6557053751b7e9c591539f7 (diff) | |
| download | aichat-46348dfb1d65e6077ebb6441dcfdeeca003c27cb.tar.gz | |
refactor: allow `.edit role` in empty session with role (#1031)
Diffstat (limited to 'src/repl/mod.rs')
| -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 1dd068c..a8b172e 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -53,7 +53,7 @@ lazy_static::lazy_static! { ReplCommand::new( ".edit role", "Edit the current role", - AssertState::TrueFalse(StateFlags::ROLE, StateFlags::SESSION_EMPTY | StateFlags::SESSION), + AssertState::TrueFalse(StateFlags::ROLE, StateFlags::SESSION), ), ReplCommand::new( ".save role", |
