mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
support empty line
This commit is contained in:
@@ -228,9 +228,7 @@ function COMMAND.debug(address, fd)
|
||||
skynet.send(agent, "lua", "cmd", "cont")
|
||||
break
|
||||
end
|
||||
if cmdline ~= "" then
|
||||
skynet.send(agent, "lua", "cmd", cmdline)
|
||||
end
|
||||
skynet.send(agent, "lua", "cmd", cmdline)
|
||||
until stop or cmdline == "cont"
|
||||
end)
|
||||
skynet.call(agent, "lua", "start", address, fd)
|
||||
|
||||
Reference in New Issue
Block a user