Diff

mod_muc_adhoc_bots/mod_muc_adhoc_bots.lua @ 5870: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
parent 5675:eade7ff9f52c
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