Merge branch 'dev' into sconn

This commit is contained in:
Cloud Wu
2014-07-13 19:50:03 +08:00

View File

@@ -176,7 +176,7 @@ skynet.start(function()
end
end)
local handle = skynet.localname ".service"
if handle ~= 0 then
if handle then
skynet.error(".service is already register by ", skynet.address(handle))
skynet.exit()
else