Changeset 9767d03 for irc_im.c


Ignore:
Timestamp:
2018-07-31T04:41:55Z (2 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
fa1bc1d
Parents:
f7cc734
git-author:
dequis <dx@…> (31-07-18 04:41:21)
git-committer:
dequis <dx@…> (31-07-18 04:41:55)
Message:

Modify server-time implementation to not change API

The new functions with the different paramters are flagged as internal,
so it doesn't even add new symbols.

abi-compliance checker says it's 100% compatible, yay.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    rf7cc734 r9767d03  
    305305
    306306        wrapped = word_wrap(msg, IRC_WORD_WRAP);
    307         irc_send_msg(src_iu, message_type, dst, wrapped, prefix, sent_at);
     307        irc_send_msg_ts(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, 0);
     349        irc_send_msg((irc_user_t *) bu->ui_data, "NOTICE", irc->user->nick, msg->str, NULL);
    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, sent_at);
     709        irc_send_msg_ts(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, 0);
     821                irc_send_msg(iu, "PRIVMSG", irc->user->nick, msg, NULL);
    822822        }
    823823        if (chan) {
Note: See TracChangeset for help on using the changeset viewer.