diff options
Diffstat (limited to 'compat53')
| -rw-r--r-- | compat53/module.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat53/module.lua b/compat53/module.lua index c69c131..0dd0317 100644 --- a/compat53/module.lua +++ b/compat53/module.lua | |||
| @@ -530,7 +530,7 @@ if lua_version < "5.3" then | |||
| 530 | 530 | ||
| 531 | 531 | ||
| 532 | if not is_luajit then | 532 | if not is_luajit then |
| 533 | function M.xpall(f, msgh, ...) | 533 | function M.xpcall(f, msgh, ...) |
| 534 | local args, n = { ... }, select('#', ...) | 534 | local args, n = { ... }, select('#', ...) |
| 535 | return xpcall(function() return f(unpack(args, 1, n)) end, msgh) | 535 | return xpcall(function() return f(unpack(args, 1, n)) end, msgh) |
| 536 | end | 536 | end |
