Fixed parameters loading

pull/40/head
Ivan Dmitrievich Yartsev 12 months ago
parent 3323cc6c33
commit edddd38ad7

@ -1436,7 +1436,7 @@ int yon_config_load_config(YON_CONFIG_TYPE config_type, ...){
if (config_type==YON_CONFIG_DEFAULT) if (config_type==YON_CONFIG_DEFAULT)
yon_config_register_default(key,current_command,current_value); yon_config_register_default(key,current_command,current_value);
else else
yon_config_register_default(key,current_command,current_value); yon_config_register(key,current_command,current_value);
if (config_type==YON_CONFIG_DEFAULT){ if (config_type==YON_CONFIG_DEFAULT){
yon_config_set_ignore(key); yon_config_set_ignore(key);
yon_config_set_status(key,-2); yon_config_set_status(key,-2);

Loading…
Cancel
Save