Modul:Protection banner: Unterschied zwischen den Versionen
logic fix
(add a check for the 'all' keyword) |
(logic fix) |
||
Zeile 179: | Zeile 179: | ||
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] | ||
elseif | elseif reasonBehavior ~= 'reasonFirst' and reason ~= 'all' then | ||
error(reason .. ' is not a valid reason') | error(reason .. ' is not a valid reason') | ||
end | end |