Commit c4c723c7 authored by Pierre Ynard's avatar Pierre Ynard

luatelnet: end connections in the password state too

Kludge beurk beurk
(cherry picked from commit 26edb0ca8af568cbba61b0e1b3b3b6fffa680b8f)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent 6f7ee22f
......@@ -213,6 +213,8 @@ while not vlc.misc.should_die() do
client:send( IAC..WONT..ECHO.."\r\nWelcome, Master\r\n" )
client.buffer = ""
client:switch_status( host.status.write )
elseif client.buffer == "quit" then
client_command( client )
else
client:send( "\r\nWrong password\r\nPassword: " )
client.buffer = ""
......
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