about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-22 00:01:43 +0000
committerJames Booth <boothj5@gmail.com>2014-12-22 00:01:43 +0000
commit86dc29d8e896c70f4adfee90651ebfa9317d31dc (patch)
tree324d50acf132cdb973c3590fd79af10b10aee9c0 /src/command/command.c
parentd5dee1632dd6e68a616a748456a880ea05983b3e (diff)
downloadprofani-tty-86dc29d8e896c70f4adfee90651ebfa9317d31dc.tar.gz
Removed functions from window.c
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c2
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);
                 }
69e97c429fb0d9f25cf1f2dc7d19e42123b0bf72'>^
3d566884 ^
f8e96a97 ^
3d566884 ^
f8e96a97 ^
465bff73 ^





f027adc0 ^
f8e96a97 ^

0b5c4cbe ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36