Moved chat resource to WIN_CHAT type

This commit is contained in:
James Booth
2014-12-10 01:44:32 +00:00
parent 12d0d22ab3
commit 706f31422d
6 changed files with 19 additions and 17 deletions

View File

@@ -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