mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
Merge pull request #551 from ailin-nemui/fix-550
nullptr when doing module backward compat on invalid config
This commit is contained in:
commit
2216ed19da
1 changed files with 1 additions and 0 deletions
|
|
@ -585,6 +585,7 @@ void settings_check_module(const char *module)
|
||||||
for (; tmp != NULL; tmp = next) {
|
for (; tmp != NULL; tmp = next) {
|
||||||
node = tmp->data;
|
node = tmp->data;
|
||||||
next = config_node_next(tmp);
|
next = config_node_next(tmp);
|
||||||
|
if (node->key == NULL) continue;
|
||||||
|
|
||||||
set = g_hash_table_lookup(settings, node->key);
|
set = g_hash_table_lookup(settings, node->key);
|
||||||
if (backwards_compatibility(module, node, parent))
|
if (backwards_compatibility(module, node, parent))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue