Merge pull request #114 from tangyi/minor-fix

fix the missing of 'Welcome to skynet' in example
This commit is contained in:
云风
2014-05-20 10:39:33 +08:00

View File

@@ -8,7 +8,7 @@ local CMD = {}
local client_fd
local function send_client(v)
socket.write(client_fd, netpack.pack(jsonpack.pack(0,v)))
socket.write(client_fd, netpack.pack(jsonpack.pack(0, {true, v})))
end
local function response_client(session,v)