mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
use a patch to hotfix
This commit is contained in:
@@ -101,9 +101,9 @@ local function test_result(ok, ...)
|
||||
end
|
||||
end
|
||||
|
||||
function snax.hotfix(obj, ...)
|
||||
function snax.hotfix(obj, source, ...)
|
||||
local t = snax.interface(obj.type)
|
||||
test_result(skynet_call(obj.handle, "lua", t.system.hotfix, obj.type, ...))
|
||||
return test_result(skynet_call(obj.handle, "lua", t.system.hotfix, source, ...))
|
||||
end
|
||||
|
||||
return snax
|
||||
|
||||
Reference in New Issue
Block a user