Remove last known usage of deprecated in Lua 5.1 `arg`
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
7a3adfb741
commit
8bca1025ac
|
@ -305,7 +305,7 @@ function table.keys_filter(t, ...)
|
|||
local keys = table.keys(t)
|
||||
local keys_filtered = { }
|
||||
for _, k in pairs(keys) do
|
||||
for _, et in pairs(arg) do
|
||||
for _, et in pairs({...}) do
|
||||
if type(t[k]) == et then
|
||||
rtable.insert(keys_filtered, k)
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue