bugfix: init should be out

This commit is contained in:
Cloud Wu
2014-11-15 21:28:03 +08:00
parent 6df72e5842
commit 6ee014dd99

View File

@@ -53,8 +53,8 @@ local function timing( method, ... )
end
skynet.start(function()
local init = false
skynet.dispatch("snax", function ( session , source , id, ...)
local init = false
local method = func[id]
if method[2] == "system" then