mcgroup bugfix

This commit is contained in:
云风
2012-09-17 11:37:08 +08:00
parent 6ce12d1180
commit f4c395759b
3 changed files with 16 additions and 12 deletions

View File

@@ -1,5 +1,9 @@
local skynet = require "skynet"
local group_mgr = ...
group_mgr = tonumber(group_mgr)
local command = {}
local group = {}
@@ -52,5 +56,5 @@ skynet.start(function()
assert(f, cmd)
f(id,handle)
end)
skynet.send("GROUPMGR" , "lua", "MASTER", skynet.self())
skynet.send(group_mgr , "lua", "MASTER", skynet.self())
end)