mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Remove else since prior condition returns
This commit is contained in:
parent
ef5579c212
commit
f9db4019af
@ -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…
x
Reference in New Issue
Block a user