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-10 01:44:32 +0000
committerJames Booth <boothj5@gmail.com>2014-12-10 01:44:32 +0000
commit706f31422dc73fff68c2955ec7e830943a5143e2 (patch)
treeada79673c0e450cca5d81897429e9a79939446ed /src/command/command.c
parent12d0d22ab325aafc38e094f16f76ddf3408da181 (diff)
downloadprofani-tty-706f31422dc73fff68c2955ec7e830943a5143e2.tar.gz
Moved chat resource to WIN_CHAT type
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 89ae17fc..022de166 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1782,9 +1782,9 @@ cmd_execute_default(const char * inp)
             } else {
                 GString *send_recipient = g_string_new(recipient);
                 ProfWin *current = wins_get_current();
-                if (current && current->chat_resource) {
+                if (current && current->wins.chat.chat_resource) {
                     g_string_append(send_recipient, "/");
-                    g_string_append(send_recipient, current->chat_resource);
+                    g_string_append(send_recipient, current->wins.chat.chat_resource);
                 }
 
 #ifdef HAVE_LIBOTR