1
0
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:
James Booth 2014-02-15 21:17:31 +00:00
parent bdfcc81b07
commit 17d3751306

View File

@ -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 {