Changeset

14:0892941186f2

mod_privacy: Make tmp variable a local
author Matthew Wild <mwild1@gmail.com>
date Fri, 25 Sep 2009 22:46:13 +0100
parents 13:135855b685d6
children 15:14b18ef8b554
files mod_privacy/mod_privacy.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_privacy/mod_privacy.lua	Fri Sep 25 22:22:58 2009 +0100
+++ b/mod_privacy/mod_privacy.lua	Fri Sep 25 22:46:13 2009 +0100
@@ -91,7 +91,7 @@
 	list.items = {};
 
 	for _,item in ipairs(entries) do
-		tmp = {};
+		local tmp = {};
 		tmp["type"] = item.attr.type;
 		tmp["value"] = item.attr.value;
 		tmp["action"] = item.attr.action;