aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-29 02:09:12 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-29 02:09:12 +0100
commit9d04baca862bcad5b49ac4ab0b9c3432321150d3 (patch)
tree51cb4128ed91e15510e44a58671d321b4c0f2c29 /plugins
parent1d5e91352f2ead648833ee4ec34e519d453f3537 (diff)
parentc8bb573d17993fef42113a444fe714a75ad43122 (diff)
downloadprosody-9d04baca862bcad5b49ac4ab0b9c3432321150d3.tar.gz
prosody-9d04baca862bcad5b49ac4ab0b9c3432321150d3.zip
Merge with Zash
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index dd787d32..2cbd7184 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -57,6 +57,7 @@ function handlers.get_items(origin, stanza, items)
for _, entry in pairs(results) do
data:add_child(entry);
end
+ local reply;
if data then
reply = st.reply(stanza)
:tag("pubsub", { xmlns = xmlns_pubsub })