diff options
Diffstat (limited to 'src/mime.lua')
-rw-r--r-- | src/mime.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mime.lua b/src/mime.lua index d263d48..37756c7 100644 --- a/src/mime.lua +++ b/src/mime.lua | |||
@@ -11,7 +11,7 @@ decodet = {} | |||
11 | wrapt = {} | 11 | wrapt = {} |
12 | 12 | ||
13 | -- creates a function that chooses a filter by name from a given table | 13 | -- creates a function that chooses a filter by name from a given table |
14 | function choose(table) | 14 | local function choose(table) |
15 | return function(name, opt1, opt2) | 15 | return function(name, opt1, opt2) |
16 | if type(name) ~= "string" then | 16 | if type(name) ~= "string" then |
17 | name, opt1, opt2 = "default", name, opt1 | 17 | name, opt1, opt2 = "default", name, opt1 |