aboutsummaryrefslogtreecommitdiffstats
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
commit9393c7df4c8c9d1ef43b197a7e514412e1a7f7ef (patch)
treed783c7e2ee90fa8985c62dad9deddc087aa2949d
parent145dcbd56116dc8f04be31f0227739f98679d9d3 (diff)
downloadprosody-9393c7df4c8c9d1ef43b197a7e514412e1a7f7ef.tar.gz
prosody-9393c7df4c8c9d1ef43b197a7e514412e1a7f7ef.zip
mod_pubsub: Don?t require util.dataforms twice
-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";