lua 5.2 compatibility #14

Merged
Kan18 merged 10 commits from attempt-lua52-compat into develop-1.8 2019-07-20 18:19:31 -04:00
Showing only changes of commit 88e3520724 - Show all commits

View File

@@ -48,7 +48,7 @@ local function sambaConnection(socket)
end
local ret
local s, m = pcall(function()
ret = fn(unpack(msg.args))
ret = fn(table.unpack(msg.args))
end)
if not s and m then
_G.printError('samba: ' .. m)