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
commit930f283dedc749528506d9e8774c3e67de7ddb7b (patch)
treecf13605e2e9111fb7a944d977d8e6a3801ccf4d9 /plugins
parent43ea78425295cbd576b7d34ae220abe78694ea82 (diff)
downloadprosody-930f283dedc749528506d9e8774c3e67de7ddb7b.tar.gz
prosody-930f283dedc749528506d9e8774c3e67de7ddb7b.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 })