mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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
@ -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…
x
Reference in New Issue
Block a user