mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
remove unused sz
This commit is contained in:
@@ -74,9 +74,9 @@ function server.disconnect_handler(username)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- call by self (when recv a request from client)
|
-- call by self (when recv a request from client)
|
||||||
function server.request_handler(username, msg, sz)
|
function server.request_handler(username, msg)
|
||||||
local u = username_map[username]
|
local u = username_map[username]
|
||||||
return skynet.tostring(skynet.rawcall(u.agent, "client", msg, sz))
|
return skynet.tostring(skynet.rawcall(u.agent, "client", msg))
|
||||||
end
|
end
|
||||||
|
|
||||||
-- call by self (when gate open)
|
-- call by self (when gate open)
|
||||||
|
|||||||
Reference in New Issue
Block a user