Changeset f7cc734 for irc_im.c


Ignore:
Timestamp:
2018-07-31T04:41:25Z (16 months ago)
Author:
dequis <dx@…>
Branches:
master
Children:
9767d03
Parents:
c82e4ca
git-author:
Philippe Daouadi <philippe@…> (15-03-17 17:06:52)
git-committer:
dequis <dx@…> (31-07-18 04:41:25)
Message:

irc: implement server-time capability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    rc82e4ca rf7cc734  
    305305
    306306        wrapped = word_wrap(msg, IRC_WORD_WRAP);
    307         irc_send_msg(src_iu, message_type, dst, wrapped, prefix);
     307        irc_send_msg(src_iu, message_type, dst, wrapped, prefix, sent_at);
    308308        g_free(wrapped);
    309309
     
    347347        g_string_append_c(msg, '\001');
    348348
    349         irc_send_msg((irc_user_t *) bu->ui_data, "NOTICE", irc->user->nick, msg->str, NULL);
     349        irc_send_msg((irc_user_t *) bu->ui_data, "NOTICE", irc->user->nick, msg->str, NULL, 0);
    350350
    351351        g_string_free(msg, TRUE);
     
    707707
    708708        wrapped = word_wrap(msg, IRC_WORD_WRAP);
    709         irc_send_msg(iu, "PRIVMSG", ic->name, wrapped, ts);
     709        irc_send_msg(iu, "PRIVMSG", ic->name, wrapped, ts, sent_at);
    710710        g_free(ts);
    711711        g_free(wrapped);
     
    819819        irc_send_msg_f(iu, "PRIVMSG", irc->user->nick, "<< \002BitlBee\002 - Invitation to chatroom %s >>", name);
    820820        if (msg) {
    821                 irc_send_msg(iu, "PRIVMSG", irc->user->nick, msg, NULL);
     821                irc_send_msg(iu, "PRIVMSG", irc->user->nick, msg, NULL, 0);
    822822        }
    823823        if (chan) {
Note: See TracChangeset for help on using the changeset viewer.