Module:Protection banner: Difference between revisions
use ipairs to make the attempt loop a little more efficient
(wrong way round?) |
(use ipairs to make the attempt loop a little more efficient) |
||
Line 159: | Line 159: | ||
for i, t in ipairs(attemptOrder) do | for i, t in ipairs(attemptOrder) do | ||
local key = {} | local key = {} | ||
for j | for j, useKeyTable in ipairs(t) do | ||
if | if useKeyTable then | ||
key[j] = keyTable[j] | key[j] = keyTable[j] | ||
else | else |