From b54c273e579f5772a23a6f58e3637f5d78903992 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 30 Jan 2013 22:47:33 +0000 Subject: Added 'last' as option for /account status --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.c b/src/command.c index ffd73086..62eb1cfc 100644 --- a/src/command.c +++ b/src/command.c @@ -1158,7 +1158,7 @@ _cmd_account(gchar **args, struct cmd_help_t help) cons_show("Updated resource for account %s: %s", account_name, value); cons_show(""); } else if (strcmp(property, "status") == 0) { - if (!presence_valid_string(value)) { + if (!presence_valid_string(value) && (strcmp(value, "last") != 0)) { cons_show("Invalud status: %s", value); } else { accounts_set_login_presence(account_name, value); -- cgit 1.4.1-2-gfad0 tion value='main'>main Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/html/044space_surround.cc.html
blob: 5f6ec84d2dab849105f7e9cfa0b6ce61a5f6d17b (plain) (tree)
1
2
3
4
5
6
7
8
9