Diff

plugins/mod_pubsub/pubsub.lib.lua @ 6448:f799b45cf735

pubsub.lib: Fix variable renaming issue
author Kim Alvefur <zash@zash.se>
date Sun, 28 Sep 2014 03:06:29 +0200
parent 6447:8c2dc2ac5a40
child 6473:7c8f58d2b331
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Sun Sep 28 02:48:29 2014 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Sun Sep 28 03:06:29 2014 +0200
@@ -283,7 +283,7 @@
 	local reply = st.reply(stanza)
 		:tag("pubsub", { xmlns = xmlns_pubsub_owner })
 			:tag("default")
-				:add_child(node_config_form:form(service.node_default_config));
+				:add_child(node_config_form:form(service.node_defaults));
 	return origin.send(reply);
 end