mirror of
https://github.com/profanity-im/profanity.git
synced 2024-06-16 21:35:24 +00:00
Fixed /alias add, when alias already exists
This commit is contained in:
parent
bdfcc81b07
commit
17d3751306
|
@ -1870,7 +1870,7 @@ cmd_alias(gchar **args, struct cmd_help_t help)
|
|||
g_string_free(ac_value, TRUE);
|
||||
return TRUE;
|
||||
} else if (cmd_exists(ac_value->str)) {
|
||||
cons_show("Command or alias '%s' already exists.");
|
||||
cons_show("Command or alias '%s' already exists.", ac_value->str);
|
||||
g_string_free(ac_value, TRUE);
|
||||
return TRUE;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user