From b3f85839419a0349395c8270581fa0ca9da80778 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Andr=C3=A9?= Date: Sun, 6 Jun 2010 13:44:36 +0800 Subject: [PATCH] Lua: remove 'http' shortcut. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since 6bb9f2996 (or master/1834c5a73e) it was not possible to load luahttp using this shortcut anyway. (cherry picked from commit 4d429b613e427f49a272185dcc26c7d03e7243c7) Signed-off-by: Jean-Philippe André --- modules/misc/lua/intf.c | 1 + modules/misc/lua/vlc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c index 7e361137f6..fcd64b915a 100644 --- a/modules/misc/lua/intf.c +++ b/modules/misc/lua/intf.c @@ -78,6 +78,7 @@ static const struct { "luatelnet", "telnet" }, { "telnet", "telnet" }, { "luahttp", "http" }, + /* { "http", "http" }, */ { NULL, NULL } }; static const char *WordInList( const char *psz_list, const char *psz_word ) diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c index 2e7b8bdeb8..e44e60d900 100644 --- a/modules/misc/lua/vlc.c +++ b/modules/misc/lua/vlc.c @@ -76,7 +76,7 @@ vlc_module_begin () set_description( N_("Interfaces implemented using lua scripts") ) add_shortcut( "luaintf" ) add_shortcut( "luahttp" ) - add_shortcut( "http" ) + /* add_shortcut( "http" ) */ add_shortcut( "luatelnet" ) add_shortcut( "telnet" ) add_shortcut( "luahotkeys" ) -- 2.11.4.GIT