diff options
author | James Booth <boothj5@gmail.com> | 2014-12-22 00:01:43 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-22 00:01:43 +0000 |
commit | 86dc29d8e896c70f4adfee90651ebfa9317d31dc (patch) | |
tree | 324d50acf132cdb973c3590fd79af10b10aee9c0 /src/command/command.c | |
parent | d5dee1632dd6e68a616a748456a880ea05983b3e (diff) | |
download | profani-tty-86dc29d8e896c70f4adfee90651ebfa9317d31dc.tar.gz |
Removed functions from window.c
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/command.c b/src/command/command.c index d00b1896..07a2d009 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1794,7 +1794,7 @@ cmd_execute_default(const char * inp) ProfWin *current = wins_get_current(); ProfChatWin *chatwin = (ProfChatWin*)current; GString *send_recipient = g_string_new(chatwin->barejid); - if (current && win_has_chat_resource(current)) { + if (current && chatwin->resource) { g_string_append(send_recipient, "/"); g_string_append(send_recipient, chatwin->resource); } |