# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1335296546 -7200
# Node ID 8a105eb8aeaeef39cac26d0689a4877de4929b01
# Parent  eaa8991998d54633c8f8177b3af249ed665941f7
mod_pubsub.lua: Fix global access

diff -r eaa8991998d5 -r 8a105eb8aeae plugins/mod_pubsub.lua
--- 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 })