summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/keyboard.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c
index ae234621..3fdf7d97 100644
--- a/src/fe-common/core/keyboard.c
+++ b/src/fe-common/core/keyboard.c
@@ -750,10 +750,8 @@ static void read_keyboard_config(void)
}
/* FIXME: backward "compatibility" - remove after irssi .99 */
- tmp = node->value;
- if (tmp != NULL &&
- config_node_get_str(tmp->data, "key", NULL) == NULL) {
- iconfig_node_clear(node);
+ if (node->type != NODE_TYPE_LIST) {
+ iconfig_node_remove(NULL, node);
key_configure_thaw();
return;
}