Software /
code /
prosody
Changeset
8338:30d8157391e9
mod_pubsub: Use correct variable name [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 18 Oct 2017 09:23:27 +0200 |
parents | 8337:dc4ea43ac463 |
children | 8339:4fce6bc0719f |
files | plugins/mod_pubsub/pubsub.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Wed Oct 18 09:08:16 2017 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Wed Oct 18 09:23:27 2017 +0200 @@ -125,7 +125,7 @@ local config; local configure = stanza.tags[1]:get_child("configure"); if configure then - local config_form = config:get_child("x", "jabber:x:data"); + local config_form = configure:get_child("x", "jabber:x:data"); if not config_form then origin.send(st.error_reply(stanza, "modify", "bad-request", "Missing dataform")); return true;