mirror of
https://github.com/kepler155c/opus
synced 2025-10-26 05:07:40 +00:00
lua 5.2 compatibility (#14)
compatibility update - making a few changes in next commit...
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user