diff options
author | Kim Alvefur <zash@zash.se> | 2012-04-24 21:42:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-04-24 21:42:26 +0200 |
commit | 930f283dedc749528506d9e8774c3e67de7ddb7b (patch) | |
tree | cf13605e2e9111fb7a944d977d8e6a3801ccf4d9 | |
parent | 43ea78425295cbd576b7d34ae220abe78694ea82 (diff) | |
download | prosody-930f283dedc749528506d9e8774c3e67de7ddb7b.tar.gz prosody-930f283dedc749528506d9e8774c3e67de7ddb7b.zip |
mod_pubsub.lua: Fix global access
-rw-r--r-- | plugins/mod_pubsub.lua | 1 |
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 }) |