From c8bb573d17993fef42113a444fe714a75ad43122 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 24 Apr 2012 21:42:26 +0200 Subject: mod_pubsub.lua: Fix global access --- plugins/mod_pubsub.lua | 1 + 1 file changed, 1 insertion(+) 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 }) -- cgit v1.2.3