Mercurial > prosody-modules
diff mod_privacy/mod_privacy.lua @ 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 | 7d70faba234c |
children | 14b18ef8b554 |
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;