1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

cons_show_aliases() simpify condition

This commit is contained in:
Michael Vetter 2020-04-20 15:59:31 +02:00
parent 5db14b2c48
commit 785e3f5623

View File

@ -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);