aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-01-07 19:23:23 +0000
committerMatthew Wild <mwild1@gmail.com>2025-01-07 19:23:23 +0000
commitf40e9978797b9bb7a7567264c6ac48c40ea06b10 (patch)
treeca85fc7be54ff427041de20f75c7c8e45d1c5b05 /plugins
parenta1fda1fd1a592281ae6656bf12155a4210e3cc03 (diff)
downloadprosody-f40e9978797b9bb7a7567264c6ac48c40ea06b10.tar.gz
prosody-f40e9978797b9bb7a7567264c6ac48c40ea06b10.zip
mod_admin_shell: Mark event as handled when requested input is submitted
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 2cc5b17c..cb84af50 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -211,6 +211,7 @@ module:hook("admin/repl-requested-input", function (event)
return true;
end
input_promise.resolve(event.stanza:get_text());
+ return true;
end);
function console:new_session(admin_session)