redis api back compatible

This commit is contained in:
云风
2013-06-21 16:09:52 +08:00
parent 277b6957cb
commit d8204357a8
4 changed files with 29 additions and 10 deletions

View File

@@ -157,8 +157,6 @@ function socket.readline(fd, sep)
end
function socket.write(fd, msg, sz)
assert(coroutine.running() == READTHREAD[fd], "call socket.lock first")
skynet.send(".socket", "client", fd, msg, sz)
end