[vlc-commits] luatelnet: end connections in the password state too
Pierre Ynard
git at videolan.org
Tue Feb 1 23:36:57 CET 2011
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Feb 1 23:36:19 2011 +0100| [26edb0ca8af568cbba61b0e1b3b3b6fffa680b8f] | committer: Pierre Ynard
luatelnet: end connections in the password state too
Kludge beurk beurk
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26edb0ca8af568cbba61b0e1b3b3b6fffa680b8f
---
share/lua/intf/telnet.lua | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/share/lua/intf/telnet.lua b/share/lua/intf/telnet.lua
index c964bd2..5a0d315 100644
--- a/share/lua/intf/telnet.lua
+++ b/share/lua/intf/telnet.lua
@@ -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 = ""
More information about the vlc-commits
mailing list