diff options
author | James Booth <boothj5@gmail.com> | 2013-01-20 03:32:51 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-20 03:32:51 +0000 |
commit | cae7717e73ccc90ab10bed037744ccb2dea1bd69 (patch) | |
tree | 84e4bb045d5a2d2a04ddd9fc0d00b7cd5ecea8d0 /src/command.c | |
parent | e9695c83aa7ff69782a4a012a9e36fe07c967881 (diff) | |
download | profani-tty-cae7717e73ccc90ab10bed037744ccb2dea1bd69.tar.gz |
Added basic room /info command
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c index 7d709315..c4fe9353 100644 --- a/src/command.c +++ b/src/command.c @@ -1424,7 +1424,6 @@ _cmd_who(gchar **args, struct cmd_help_t help) if (conn_status != JABBER_CONNECTED) { cons_show("You are not currently connected."); } else { - cons_show(""); char *presence = args[0]; // bad arg @@ -1519,6 +1518,7 @@ _cmd_who(gchar **args, struct cmd_help_t help) // not in groupchat window } else { + cons_show(""); GSList *list = get_contact_list(); // no arg, show all contacts @@ -1674,7 +1674,7 @@ _cmd_info(gchar **args, struct cmd_help_t help) } else { if (win_current_is_groupchat()) { if (usr != NULL) { - win_room_show_status(usr); + win_room_show_info(usr); } else { win_current_show("You must specify a nickname."); } |