mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 06:18:21 +01:00
Releasing LTN012.
This commit is contained in:
parent
d92132e87a
commit
4fc164b8ea
@ -11,7 +11,7 @@ decodet = {}
|
||||
wrapt = {}
|
||||
|
||||
-- creates a function that chooses a filter by name from a given table
|
||||
function choose(table)
|
||||
local function choose(table)
|
||||
return function(name, opt1, opt2)
|
||||
if type(name) ~= "string" then
|
||||
name, opt1, opt2 = "default", name, opt1
|
||||
|
Loading…
Reference in New Issue
Block a user