filter bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-08-11 19:14:17 +02:00
parent 4ee99e43e8
commit dba5dcdf8d
8 changed files with 55 additions and 68 deletions
+1 -8
View File
@@ -116,14 +116,7 @@ end
function private.blizzard_page_index(str)
if tonumber(str) then
return aux.util.round(max(0, tonumber(str) - 1))
return max(0, tonumber(str) - 1)
end
end
function private.blizzard_level(str)
if tonumber(str) then
return aux.util.round(aux.util.bound(1, 60, tonumber(str)))
end
end