diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-02-17 19:09:11 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-02-17 19:09:11 +0000 |
commit | efc31d66ef0767e3ceb3e211097841ec31ac18ab (patch) | |
tree | 9a14140b7f952f19bed508432c9c17eba84a60eb /plugins | |
parent | c8cf32b614be21b33e3d13e9791b3fa51df4b5f6 (diff) | |
download | prosody-efc31d66ef0767e3ceb3e211097841ec31ac18ab.tar.gz prosody-efc31d66ef0767e3ceb3e211097841ec31ac18ab.zip |
mod_admin_shell: Set flag on session when in REPL mode
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_shell.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 09f6c92b..7c50b272 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -415,6 +415,10 @@ local function handle_line(event) end end + if not source then + session.repl = true; + end + taskok, message = chunk(flags); if promise.is_promise(taskok) then |