Commit 15e4046f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

...and consistent semantics

parent 262c049b
......@@ -320,7 +320,7 @@ void __config_ChainParse( vlc_object_t *p_this, const char *psz_prefix,
msg_Warn( p_this, "Option %s is obsolete. Use %s instead.",
name, psz_name );
}
if( p_conf->b_safe )
if( !p_conf->b_safe )
{
int policy = config_GetInt( p_this, "security-policy" );
switch( policy )
......
......@@ -1099,7 +1099,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option )
/* check if option is unsafe */
{
module_config_t *p_config = config_FindConfig( p_obj, psz_name );
if( p_config->b_safe )
if( !p_config->b_safe )
{
int policy = config_GetInt( p_obj, "security-policy" );
switch( policy )
......
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