changeset 5846:8b868c00e38e

mod_muc_adhoc_bots: Fix bug preventing multiple commands from showing
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Sun, 25 Feb 2024 19:17:40 -0500
parents 83ee752f148c
children d00af6ebb326
files mod_muc_adhoc_bots/mod_muc_adhoc_bots.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_adhoc_bots/mod_muc_adhoc_bots.lua	Sun Feb 25 19:10:30 2024 -0500
+++ b/mod_muc_adhoc_bots/mod_muc_adhoc_bots.lua	Sun Feb 25 19:17:40 2024 -0500
@@ -37,7 +37,7 @@
 					for j,item in ipairs(query.tags) do
 						item.attr.node = json.encode({ jid = item.attr.jid, node = item.attr.node })
 						item.attr.jid = event.stanza.attr.to
-						reply:add_child(item):up()
+						reply:add_child(item)
 					end
 				end
 			end