Commit 358ba612 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't load/save module_config_t.b_removed

The whole module_config_t is loaded/saved anyway, which is sufficient
for immediate values.
parent 740370c5
...@@ -340,7 +340,6 @@ static int CacheLoadConfig( module_t *p_module, FILE *file ) ...@@ -340,7 +340,6 @@ static int CacheLoadConfig( module_t *p_module, FILE *file )
LOAD_STRING( p_module->p_config[i].psz_text ); LOAD_STRING( p_module->p_config[i].psz_text );
LOAD_STRING( p_module->p_config[i].psz_longtext ); LOAD_STRING( p_module->p_config[i].psz_longtext );
LOAD_STRING( p_module->p_config[i].psz_oldname ); LOAD_STRING( p_module->p_config[i].psz_oldname );
LOAD_IMMEDIATE( p_module->p_config[i].b_removed );
if (IsConfigStringType (p_module->p_config[i].i_type)) if (IsConfigStringType (p_module->p_config[i].i_type))
{ {
...@@ -600,7 +599,6 @@ static int CacheSaveConfig (FILE *file, const module_t *p_module) ...@@ -600,7 +599,6 @@ static int CacheSaveConfig (FILE *file, const module_t *p_module)
SAVE_STRING( p_module->p_config[i].psz_text ); SAVE_STRING( p_module->p_config[i].psz_text );
SAVE_STRING( p_module->p_config[i].psz_longtext ); SAVE_STRING( p_module->p_config[i].psz_longtext );
SAVE_STRING( p_module->p_config[i].psz_oldname ); SAVE_STRING( p_module->p_config[i].psz_oldname );
SAVE_IMMEDIATE( p_module->p_config[i].b_removed );
if (IsConfigStringType (p_module->p_config[i].i_type)) if (IsConfigStringType (p_module->p_config[i].i_type))
SAVE_STRING( p_module->p_config[i].orig.psz ); SAVE_STRING( p_module->p_config[i].orig.psz );
......
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