X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fmultitable.lua;h=49659605bd117bf9c8175359a104911bcf9538dd;hb=1acc8f231b80f3806f99ba20a7bd981cf5c85f63;hp=c0bb2205d816bd312ca3b91704e89b37b9a8e80a;hpb=7a04d599e21f4fc75cd23488ffa429a4b23c71fa;p=prosody.git diff --git a/util/multitable.lua b/util/multitable.lua index c0bb2205..49659605 100644 --- a/util/multitable.lua +++ b/util/multitable.lua @@ -1,4 +1,4 @@ --- Prosody IM v0.4 +-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- @@ -56,7 +56,7 @@ local function r(t, n, _end, ...) return; end if k then - v = t[k]; + local v = t[k]; if v then r(v, n+1, _end, ...); if not next(v) then @@ -96,7 +96,7 @@ local function s(t, n, results, _end, ...) return; end if k then - v = t[k]; + local v = t[k]; if v then s(v, n+1, results, _end, ...); end