remove useless code.

This commit is contained in:
Hanlei Qin
2017-10-06 00:42:48 +08:00
parent 1c605bed2b
commit 03ce7ab385

View File

@@ -108,14 +108,6 @@ function snax.newservice(name, ...)
return snax.bind(handle, name)
end
local function service_name(global, name, ...)
if global == true then
return name
else
return global
end
end
function snax.uniqueservice(name, ...)
local handle = assert(skynet.call(".service", "lua", "LAUNCH", "snaxd", name, ...))
return snax.bind(handle, name)