1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Merge pull request #197 from SamWhited/patch-1

Fix a small typo
This commit is contained in:
James Booth 2013-06-30 13:41:23 -07:00
commit 79e3593111

View File

@ -1463,7 +1463,7 @@ _cmd_account(gchar **args, struct cmd_help_t help)
cons_show("");
} else if (strcmp(property, "status") == 0) {
if (!valid_resource_presence_string(value) && (strcmp(value, "last") != 0)) {
cons_show("Invalud status: %s", value);
cons_show("Invalid status: %s", value);
} else {
accounts_set_login_presence(account_name, value);
cons_show("Updated login status for account %s: %s", account_name, value);