Changeset

7358:d0390bc9c5d1

mod_pubsub: Don’t require util.dataforms twice
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 16 Apr 2016 20:56:47 +0100
parents 7356:f4d51870d212
children 7359:a5a080c12c96
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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";