mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
cons_show_aliases() simpify condition
This commit is contained in:
parent
5db14b2c48
commit
785e3f5623
@ -1067,9 +1067,7 @@ cons_show_aliases(GList *aliases)
|
||||
}
|
||||
|
||||
GList *curr = aliases;
|
||||
if (curr) {
|
||||
cons_show("Command aliases:");
|
||||
}
|
||||
cons_show("Command aliases:");
|
||||
while (curr) {
|
||||
ProfAlias *alias = curr->data;
|
||||
cons_show(" /%s -> %s", alias->name, alias->value);
|
||||
|
Loading…
Reference in New Issue
Block a user