Commit 2392e243 authored by Pierre Ynard's avatar Pierre Ynard

lua: hack to prevent the cli submodule from taking over the generic module

This fixes the `vlc -I lua` syntax
parent 84331305
...@@ -428,6 +428,12 @@ int Open_LuaHTTP( vlc_object_t *p_this ) ...@@ -428,6 +428,12 @@ int Open_LuaHTTP( vlc_object_t *p_this )
int Open_LuaCLI( vlc_object_t *p_this ) int Open_LuaCLI( vlc_object_t *p_this )
{ {
/* Hack to work around submodule brokenness */
intf_thread_t *p_intf = (intf_thread_t*)p_this;
if( !strcmp( p_intf->psz_intf, "lua" )
|| !strncmp( p_intf->psz_intf, "lua,", 4 ) )
return VLC_EGENERIC;
return Start_LuaIntf( p_this, "cli" ); return Start_LuaIntf( p_this, "cli" );
} }
......
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