1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Show message on /alias list when no aliases

This commit is contained in:
James Booth 2014-02-15 21:25:13 +00:00
parent 17d3751306
commit f010dfb004

View File

@ -905,6 +905,11 @@ _cons_show_account(ProfAccount *account)
static void
_cons_show_aliases(GList *aliases)
{
if (aliases == NULL) {
cons_show("No aliases configured.");
return;
}
GList *curr = aliases;
if (curr != NULL) {
cons_show("Command aliases:");