use a patch to hotfix

This commit is contained in:
Cloud Wu
2014-04-17 13:49:25 +08:00
parent 58dfe38c4b
commit 6d4d9f8758
4 changed files with 88 additions and 91 deletions

View File

@@ -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