diff options
author | Diogo Sousa <diogogsousa@gmail.com> | 2013-06-22 16:55:41 +0100 |
---|---|---|
committer | Diogo Sousa <diogogsousa@gmail.com> | 2013-06-28 16:04:16 +0100 |
commit | 42da8fe3efb3d6bb7e3fb14169e7cc362e21921a (patch) | |
tree | 5d2055d9964964cd1e2317e0883b7e8657aade26 /src/common/dcc.c | |
parent | a01bd83c64b76da028d3c23b743a61bbbc62a2d2 (diff) |
server-time supported in all named servermsg: ping, error, notice and
authenticate. The only thing left to do for server-time are the numeric messages.
Diffstat (limited to 'src/common/dcc.c')
-rw-r--r-- | src/common/dcc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/dcc.c b/src/common/dcc.c index 3eeb81bd..afdf67a5 100644 --- a/src/common/dcc.c +++ b/src/common/dcc.c @@ -509,8 +509,7 @@ 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_; + message_tags_data no_tags = MESSAGE_TAGS_DATA_INIT; len = strlen (line); if (dcc->serv->using_cp1255) @@ -581,7 +580,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, tags_data); + inbound_privmsg (dcc->serv, dcc->nick, "", line, FALSE, &no_tags); } if (utf) g_free (utf); |