Commit 415dab3b authored by Pierre Ynard's avatar Pierre Ynard

luatelnet: fix grammar

parent a94688f9
...@@ -183,7 +183,7 @@ while not vlc.misc.should_die() do ...@@ -183,7 +183,7 @@ while not vlc.misc.should_die() do
for _, client in pairs(r) do for _, client in pairs(r) do
local str = client.cmds .. client:recv(1000) local str = client.cmds .. client:recv(1000)
if not str then -- the telnet client program has leave if not str then -- the telnet client program has left
client.cmds = "quit" client.cmds = "quit"
elseif string.match(str,"\n") then elseif string.match(str,"\n") then
client.cmds = str client.cmds = str
......
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