From f40e9978797b9bb7a7567264c6ac48c40ea06b10 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 7 Jan 2025 19:23:23 +0000 Subject: mod_admin_shell: Mark event as handled when requested input is submitted --- plugins/mod_admin_shell.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_admin_shell.lua') 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) -- cgit v1.2.3