# HG changeset patch # User Matthew Wild # Date 1739819351 0 # Node ID 5e8a707f1dbf8a3e7b3952d84815299a03d041d1 # Parent c133635d0bc6ca54fafcb0eb04fec87561b38733 mod_admin_shell: Set flag on session when in REPL mode diff -r c133635d0bc6 -r 5e8a707f1dbf plugins/mod_admin_shell.lua --- a/plugins/mod_admin_shell.lua Mon Feb 17 18:25:52 2025 +0000 +++ b/plugins/mod_admin_shell.lua Mon Feb 17 19:09:11 2025 +0000 @@ -415,6 +415,10 @@ end end + if not source then + session.repl = true; + end + taskok, message = chunk(flags); if promise.is_promise(taskok) then