Modul:Protection banner: Unterschied zwischen den Versionen

wrong way round?
(try adding an exception)
(wrong way round?)
Zeile 151: Zeile 151:
{false, false, false, false, false} -- 10
{false, false, false, false, false} -- 10
}
}
if reason == 'vandalism' then
if reason ~= 'vandalism' then
attemptOrder[3], attemptOrder[4] = attemptOrder[4], attemptOrder[3]
attemptOrder[3], attemptOrder[4] = attemptOrder[4], attemptOrder[3]
attemptOrder[5], attemptOrder[6] = attemptOrder[6], attemptOrder[5]
attemptOrder[5], attemptOrder[6] = attemptOrder[6], attemptOrder[5]
Zeile 167: Zeile 167:
end
end
key = table.concat(key, '-')
key = table.concat(key, '-')
mw.log(key) -- for debugging
local attempt = cats[key]
local attempt = cats[key]
if attempt then
if attempt then
Anonymer Benutzer