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 | ccb08b40d95bf4078873b9b222550e339dd68467 (patch) | |
tree | 783afa176ec415aa60fd29f5358c59a6792ce6e1 | |
parent | ded629dfb2b868f06f54f4088884c4aef4fd4110 (diff) | |
download | prosody-ccb08b40d95bf4078873b9b222550e339dd68467.tar.gz prosody-ccb08b40d95bf4078873b9b222550e339dd68467.zip |
mod_pubsub: Use correct variable name [luacheck]
-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; |