mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Remove else since prior condition returns
This commit is contained in:
parent
ef5579c212
commit
f9db4019af
1 changed files with 2 additions and 1 deletions
|
|
@ -557,7 +557,8 @@ static int backwards_compatibility(const char *module, CONFIG_NODE *node,
|
|||
g_free(new_value);
|
||||
config_changed = TRUE;
|
||||
return new_key != NULL;
|
||||
} else if (g_ascii_strcasecmp(node->key, "actlist_moves") == 0 &&
|
||||
}
|
||||
if (g_ascii_strcasecmp(node->key, "actlist_moves") == 0 &&
|
||||
node->value != NULL && g_ascii_strcasecmp(node->value, "yes") == 0) {
|
||||
config_node_set_str(mainconfig, parent, "actlist_sort", "recent");
|
||||
config_node_set_str(mainconfig, parent, node->key, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue