server-time supported in most named messages.

This commit is contained in:
Diogo Sousa
2013-06-22 15:32:50 +01:00
parent 179747a7bc
commit 6a0240aa18
7 changed files with 246 additions and 135 deletions

View File

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