Remove last known usage of deprecated in Lua 5.1 `arg`

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Stjujsckij Nickolaj 2010-10-12 20:16:39 +04:00 committed by Uli Schlachter
parent 7ef7fe7e03
commit b4cc392e23
1 changed files with 1 additions and 1 deletions

View File

@ -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