diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-04-16 20:56:47 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-04-16 20:56:47 +0100 |
commit | 07cda18b8af349dcdb271458e3ae5931f9a227cf (patch) | |
tree | d783c7e2ee90fa8985c62dad9deddc087aa2949d /plugins/mod_pubsub/pubsub.lib.lua | |
parent | c5c18714c40d8b13616bbbb85c37403f6d2037f1 (diff) | |
download | prosody-07cda18b8af349dcdb271458e3ae5931f9a227cf.tar.gz prosody-07cda18b8af349dcdb271458e3ae5931f9a227cf.zip |
mod_pubsub: Don’t require util.dataforms twice
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-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 1497c21c..805efc1f 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -31,7 +31,7 @@ local function pubsub_error_reply(stanza, error) end _M.pubsub_error_reply = pubsub_error_reply; -local node_config_form = require"util.dataforms".new { +local node_config_form = dataform { { type = "hidden"; name = "FORM_TYPE"; |