diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-18 09:23:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-18 09:23:27 +0200 |
commit | 3233a819e3b37d15e67c338ec6ad79f8430138cc (patch) | |
tree | 783afa176ec415aa60fd29f5358c59a6792ce6e1 /plugins/mod_pubsub | |
parent | c4c07e032b10b4a4b6ccde743508b973fb1891bc (diff) | |
download | prosody-3233a819e3b37d15e67c338ec6ad79f8430138cc.tar.gz prosody-3233a819e3b37d15e67c338ec6ad79f8430138cc.zip |
mod_pubsub: Use correct variable name [luacheck]
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 49274601..ca9f7c9a 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -125,7 +125,7 @@ function handlers.set_create(origin, stanza, create, service) 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; |