aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/request.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/request.lib.lua b/plugins/muc/request.lib.lua
index 1d9c39f9..4e95fdc3 100644
--- a/plugins/muc/request.lib.lua
+++ b/plugins/muc/request.lib.lua
@@ -82,7 +82,7 @@ module:hook("muc-voice-request", function(event)
};
local message = st.message({ type = "normal"; from = event.room.jid })
- :add_direct_child(voice_request_form:form(formdata));
+ :add_child(voice_request_form:form(formdata));
event.room:broadcast(message, function (_, occupant)
return occupant.role == "moderator";