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 | c8bb573d17993fef42113a444fe714a75ad43122 (patch) | |
tree | cf13605e2e9111fb7a944d977d8e6a3801ccf4d9 /plugins | |
parent | e8e1d220b860a0e45962f810e7b1dfbb9900ce61 (diff) | |
download | prosody-c8bb573d17993fef42113a444fe714a75ad43122.tar.gz prosody-c8bb573d17993fef42113a444fe714a75ad43122.zip |
mod_pubsub.lua: Fix global access
Diffstat (limited to 'plugins')
-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 }) |