diff options
author | James Booth <boothj5@gmail.com> | 2012-11-14 01:39:26 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-11-14 01:39:26 +0000 |
commit | c87eeee836b5cd4830459dc48536f7097457a291 (patch) | |
tree | b8eb19cf76fd7079089ebbe6369c4d6e848242d2 | |
parent | 0618c61d6e82f41d4823788a1a7075125ae1f73a (diff) | |
download | profani-tty-c87eeee836b5cd4830459dc48536f7097457a291.tar.gz |
Renamed /status -> /info
-rw-r--r-- | src/command.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/command.c b/src/command.c index 35e0968f..5093b0d3 100644 --- a/src/command.c +++ b/src/command.c @@ -113,7 +113,7 @@ static gboolean _cmd_online(const char * const inp, struct cmd_help_t help); static gboolean _cmd_dnd(const char * const inp, struct cmd_help_t help); static gboolean _cmd_chat(const char * const inp, struct cmd_help_t help); static gboolean _cmd_xa(const char * const inp, struct cmd_help_t help); -static gboolean _cmd_status(const char * const inp, struct cmd_help_t help); +static gboolean _cmd_info(const char * const inp, struct cmd_help_t help); static gboolean _cmd_wins(const char * const inp, struct cmd_help_t help); /* @@ -197,11 +197,11 @@ static struct cmd_t main_commands[] = "Example : /msg boothj5@gmail.com Hey, here's a message!", NULL } } }, - { "/status", - _cmd_status, - { "/status user@host", "Find out a contacts status.", - { "/status user@host", - "-----------------", + { "/info", + _cmd_info, + { "/info user@host", "Find out a contacts presence information.", + { "/info user@host", + "---------------", "Find out someones presence information.", "Use tab completion to autocomplete the contact.", NULL } } }, @@ -811,7 +811,7 @@ _cmd_complete_parameters(char *input, int *size) _parameter_autocomplete(input, size, "/msg", contact_list_find_contact); - _parameter_autocomplete(input, size, "/status", + _parameter_autocomplete(input, size, "/info", contact_list_find_contact); _parameter_autocomplete(input, size, "/connect", prefs_find_login); @@ -1206,7 +1206,7 @@ _cmd_msg(const char * const inp, struct cmd_help_t help) } static gboolean -_cmd_status(const char * const inp, struct cmd_help_t help) +_cmd_info(const char * const inp, struct cmd_help_t help) { char *usr = NULL; |