aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-04-24 21:42:26 +0200
committerKim Alvefur <zash@zash.se>2012-04-24 21:42:26 +0200
commitc8bb573d17993fef42113a444fe714a75ad43122 (patch)
treecf13605e2e9111fb7a944d977d8e6a3801ccf4d9 /plugins
parente8e1d220b860a0e45962f810e7b1dfbb9900ce61 (diff)
downloadprosody-c8bb573d17993fef42113a444fe714a75ad43122.tar.gz
prosody-c8bb573d17993fef42113a444fe714a75ad43122.zip
mod_pubsub.lua: Fix global access
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 })