Commit 26edb0ca authored by Pierre Ynard's avatar Pierre Ynard

luatelnet: end connections in the password state too

Kludge beurk beurk
parent d16bdb96
......@@ -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