summary refs log tree commit diff stats
path: root/src/common/dcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dcc.c')
-rw-r--r--src/common/dcc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/dcc.c b/src/common/dcc.c
index 4980cabc..3eeb81bd 100644
--- a/src/common/dcc.c
+++ b/src/common/dcc.c
@@ -509,6 +509,8 @@ dcc_chat_line (struct DCC *dcc, char *line)
 	int len;
 	gsize utf_len;
 	char portbuf[32];
+	message_tags_data tags_data_ = MESSAGE_TAGS_DATA_INIT; /* TODO: this will be an argument */
+	const message_tags_data *tags_data = &tags_data_;
 
 	len = strlen (line);
 	if (dcc->serv->using_cp1255)
@@ -579,7 +581,7 @@ dcc_chat_line (struct DCC *dcc, char *line)
 		inbound_action (sess, dcc->serv->nick, dcc->nick, "", line + 8, FALSE, FALSE);
 	} else
 	{
-		inbound_privmsg (dcc->serv, dcc->nick, "", line, FALSE);
+		inbound_privmsg (dcc->serv, dcc->nick, "", line, FALSE, tags_data);
 	}
 	if (utf)
 		g_free (utf);