Diff

plugins/mod_pubsub/pubsub.lib.lua @ 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
parent 6841:be87ab2d611c
child 8210:352d605b1178
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";