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 | 9393c7df4c8c9d1ef43b197a7e514412e1a7f7ef (patch) | |
tree | d783c7e2ee90fa8985c62dad9deddc087aa2949d /plugins/mod_pubsub/pubsub.lib.lua | |
parent | 145dcbd56116dc8f04be31f0227739f98679d9d3 (diff) | |
download | prosody-9393c7df4c8c9d1ef43b197a7e514412e1a7f7ef.tar.gz prosody-9393c7df4c8c9d1ef43b197a7e514412e1a7f7ef.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"; |