fix deprecated use of getn

This commit is contained in:
2025-10-03 14:58:28 -04:00
parent 74745108b6
commit c017e14084
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ end
-- chains a bunch of filters together
-- (thanks to Wim Couwenberg)
function filter.chain(...)
local n = table.getn(arg)
local n = #arg
local top, index = 1, 1
local retry = ""
return function(chunk)