mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
bugfix: init should be out
This commit is contained in:
@@ -53,8 +53,8 @@ local function timing( method, ... )
|
|||||||
end
|
end
|
||||||
|
|
||||||
skynet.start(function()
|
skynet.start(function()
|
||||||
skynet.dispatch("snax", function ( session , source , id, ...)
|
|
||||||
local init = false
|
local init = false
|
||||||
|
skynet.dispatch("snax", function ( session , source , id, ...)
|
||||||
local method = func[id]
|
local method = func[id]
|
||||||
|
|
||||||
if method[2] == "system" then
|
if method[2] == "system" then
|
||||||
|
|||||||
Reference in New Issue
Block a user