aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-04-17 22:28:48 +0200
committerKim Alvefur <zash@zash.se>2016-04-17 22:28:48 +0200
commit8f7f8d673ccf1ee7d115526d6bd7a805e0eed1d7 (patch)
tree65fa5a9caa2b6eb979d751ac6a7cfb369174e1d8 /plugins/mod_pubsub/pubsub.lib.lua
parenta92b3b499c6319f0510af1772c92ea6637a456af (diff)
parentc6048a7cb4097d24b5c28a29247ba7175e00ea37 (diff)
downloadprosody-8f7f8d673ccf1ee7d115526d6bd7a805e0eed1d7.tar.gz
prosody-8f7f8d673ccf1ee7d115526d6bd7a805e0eed1d7.zip
Merge with Link Mauve
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";