mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-02-13 07:22:52 +01:00
Releasing LTN012.
This commit is contained in:
parent
d92132e87a
commit
4fc164b8ea
@ -11,7 +11,7 @@ decodet = {}
|
|||||||
wrapt = {}
|
wrapt = {}
|
||||||
|
|
||||||
-- creates a function that chooses a filter by name from a given table
|
-- 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)
|
return function(name, opt1, opt2)
|
||||||
if type(name) ~= "string" then
|
if type(name) ~= "string" then
|
||||||
name, opt1, opt2 = "default", name, opt1
|
name, opt1, opt2 = "default", name, opt1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user