core: fix search of option when the section is not given
This commit is contained in:
parent
fb57ad147e
commit
301f0942c6
@ -24,6 +24,7 @@ New features::
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* api: fix search of option when the section is not given in functions config_search_option and config_search_section_option
|
||||
* irc: fix parsing of TAGMSG message when there is a colon before the channel
|
||||
|
||||
[[v3.3]]
|
||||
|
@ -847,7 +847,7 @@ config_file_search_option (struct t_config_file *config_file,
|
||||
if (rc == 0)
|
||||
return ptr_option;
|
||||
else if (rc < 0)
|
||||
return NULL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (config_file)
|
||||
@ -862,7 +862,7 @@ config_file_search_option (struct t_config_file *config_file,
|
||||
if (rc == 0)
|
||||
return ptr_option;
|
||||
else if (rc < 0)
|
||||
return NULL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -908,7 +908,7 @@ config_file_search_section_option (struct t_config_file *config_file,
|
||||
return;
|
||||
}
|
||||
else if (rc < 0)
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (config_file)
|
||||
@ -927,7 +927,7 @@ config_file_search_section_option (struct t_config_file *config_file,
|
||||
return;
|
||||
}
|
||||
else if (rc < 0)
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user