# HG changeset patch # User Emmanuel Gil Peyrot # Date 1460836607 -3600 # Node ID d0390bc9c5d1a1baa5dc1eb2506cb5a2b1adfa6c # Parent f4d51870d212c9ff608cabdc8a24dc287361cd08 mod_pubsub: Don’t require util.dataforms twice diff -r f4d51870d212 -r d0390bc9c5d1 plugins/mod_pubsub/pubsub.lib.lua --- a/plugins/mod_pubsub/pubsub.lib.lua Fri Apr 15 13:39:56 2016 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sat Apr 16 20:56:47 2016 +0100 @@ -31,7 +31,7 @@ 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";