diff options
author | James Booth <boothj5@gmail.com> | 2014-06-03 21:20:13 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-06-03 21:20:13 +0100 |
commit | c65b43f081144b0edc4e14cc6b9c928cebdeebb3 (patch) | |
tree | ee4de2ad7358d0b6b93f08bb7371fc6b42d322b9 /src/command | |
parent | 8ae6d359d7000c8c950859777c9e953e76bfc871 (diff) | |
download | profani-tty-c65b43f081144b0edc4e14cc6b9c928cebdeebb3.tar.gz |
Show info in room for participant
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/commands.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 75da4fa3..100b90b5 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1395,14 +1395,9 @@ cmd_info(gchar **args, struct cmd_help_t help) { case WIN_MUC: if (usr != NULL) { - pcontact = muc_get_participant(recipient, usr); - if (pcontact != NULL) { - cons_show_info(pcontact); - } else { - cons_show("No such participant \"%s\" in room.", usr); - } + ui_info_room(usr); } else { - cons_show("No nickname supplied to /info in chat room."); + ui_current_print_line("You must specify a nickname."); } break; case WIN_CHAT: |