mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Show message on /alias list when no aliases
This commit is contained in:
parent
17d3751306
commit
f010dfb004
@ -905,6 +905,11 @@ _cons_show_account(ProfAccount *account)
|
|||||||
static void
|
static void
|
||||||
_cons_show_aliases(GList *aliases)
|
_cons_show_aliases(GList *aliases)
|
||||||
{
|
{
|
||||||
|
if (aliases == NULL) {
|
||||||
|
cons_show("No aliases configured.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
GList *curr = aliases;
|
GList *curr = aliases;
|
||||||
if (curr != NULL) {
|
if (curr != NULL) {
|
||||||
cons_show("Command aliases:");
|
cons_show("Command aliases:");
|
||||||
|
Loading…
Reference in New Issue
Block a user