From 6ee014dd99323fedebe2e8e511265920f40550ac Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Sat, 15 Nov 2014 21:28:03 +0800 Subject: [PATCH] bugfix: init should be out --- service/snaxd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/snaxd.lua b/service/snaxd.lua index 8be269e9..02e3738c 100644 --- a/service/snaxd.lua +++ b/service/snaxd.lua @@ -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