Comparison

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
comparison
equal deleted inserted replaced
7356:f4d51870d212 7358:d0390bc9c5d1
29 end 29 end
30 return reply; 30 return reply;
31 end 31 end
32 _M.pubsub_error_reply = pubsub_error_reply; 32 _M.pubsub_error_reply = pubsub_error_reply;
33 33
34 local node_config_form = require"util.dataforms".new { 34 local node_config_form = dataform {
35 { 35 {
36 type = "hidden"; 36 type = "hidden";
37 name = "FORM_TYPE"; 37 name = "FORM_TYPE";
38 value = "http://jabber.org/protocol/pubsub#node_config"; 38 value = "http://jabber.org/protocol/pubsub#node_config";
39 }; 39 };