make service mgr simple

This commit is contained in:
Cloud Wu
2014-04-19 17:03:58 +08:00
parent 93cb091894
commit ba27feee35
2 changed files with 20 additions and 35 deletions

View File

@@ -414,8 +414,8 @@ function skynet.uniqueservice(...)
return assert(skynet.call(".service", "lua", "LAUNCH", ...))
end
function skynet.queryservice(global, name)
return assert(skynet.call(".service", "lua", "QUERY", global, name))
function skynet.queryservice(...)
return assert(skynet.call(".service", "lua", "QUERY", ...))
end
local function group_command(cmd, handle, address)