Commit a94688f9 authored by Pierre Ynard's avatar Pierre Ynard

luatelnet: don't replace \r by extra \n

It's useless and create bogus empty commands, that output ugly blank
lines and crap during login
parent b1b43f10
......@@ -181,7 +181,7 @@ while not vlc.misc.should_die() do
-- Handle reads
for _, client in pairs(r) do
local str = client.cmds .. string.gsub(client:recv(1000), "\r", "\n")
local str = client.cmds .. client:recv(1000)
if not str then -- the telnet client program has leave
client.cmds = "quit"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment