Changeset

4795:8a105eb8aeae

mod_pubsub.lua: Fix global access
author Kim Alvefur <zash@zash.se>
date Tue, 24 Apr 2012 21:42:26 +0200
parents 4793:eaa8991998d5
children 4796:04a34287dc12
files plugins/mod_pubsub.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua	Tue Apr 24 21:37:20 2012 +0200
+++ b/plugins/mod_pubsub.lua	Tue Apr 24 21:42:26 2012 +0200
@@ -57,6 +57,7 @@
 	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 })