diff options
author | James Booth <boothj5@gmail.com> | 2013-01-15 00:02:23 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-15 00:02:23 +0000 |
commit | 62b89a4d8a67b89702dc8a6ade6a13e167bc8db6 (patch) | |
tree | 1a0979f31e23d75d91b5ea36f02b9df1bfac3ee0 /src/command.c | |
parent | cbb3fd45e48b7cdf295e23926f61b5203a2e183b (diff) | |
download | profani-tty-62b89a4d8a67b89702dc8a6ade6a13e167bc8db6.tar.gz |
Allow /info and /msg in private room chat when nick has space in name
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c index 3606ad3b..d688061f 100644 --- a/src/command.c +++ b/src/command.c @@ -1584,7 +1584,11 @@ _cmd_info(gchar **args, struct cmd_help_t help) if (conn_status != JABBER_CONNECTED) { cons_show("You are not currently connected."); } else { - cons_show_status(usr); + if (win_current_is_groupchat()) { + win_show_status(usr); + } else { + cons_show_status(usr); + } } return TRUE; |