aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-04-16 20:56:47 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-04-16 20:56:47 +0100
commit07cda18b8af349dcdb271458e3ae5931f9a227cf (patch)
treed783c7e2ee90fa8985c62dad9deddc087aa2949d /plugins/mod_pubsub/pubsub.lib.lua
parentc5c18714c40d8b13616bbbb85c37403f6d2037f1 (diff)
downloadprosody-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.lua2
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";