Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
6447:8c2dc2ac5a40 | 6448:f799b45cf735 |
---|---|
281 | 281 |
282 function handlers.get_default(origin, stanza, default, service) | 282 function handlers.get_default(origin, stanza, default, service) |
283 local reply = st.reply(stanza) | 283 local reply = st.reply(stanza) |
284 :tag("pubsub", { xmlns = xmlns_pubsub_owner }) | 284 :tag("pubsub", { xmlns = xmlns_pubsub_owner }) |
285 :tag("default") | 285 :tag("default") |
286 :add_child(node_config_form:form(service.node_default_config)); | 286 :add_child(node_config_form:form(service.node_defaults)); |
287 return origin.send(reply); | 287 return origin.send(reply); |
288 end | 288 end |
289 | 289 |
290 return _M; | 290 return _M; |