Changeset 9767d03 for irc_commands.c


Ignore:
Timestamp:
2018-07-31T04:41:55Z (10 months 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_commands.c

    rf7cc734 r9767d03  
    524524           for lag checks, so try to support that. */
    525525        if (nick_cmp(NULL, cmd[1], irc->user->nick) == 0) {
    526                 irc_send_msg(irc->user, "NOTICE", irc->user->nick, cmd[2], NULL, 0);
     526                irc_send_msg(irc->user, "NOTICE", irc->user->nick, cmd[2], NULL);
    527527        } else if ((iu = irc_user_by_name(irc, cmd[1]))) {
    528528                iu->f->privmsg(iu, cmd[2]);
     
    825825        int i;
    826826
    827         irc_send_msg_raw(irc->root, "NOTICE", irc->user->nick, "COMPLETIONS OK", 0);
     827        irc_send_msg_raw(irc->root, "NOTICE", irc->user->nick, "COMPLETIONS OK");
    828828
    829829        for (i = 0; root_commands[i].command; i++) {
     
    839839        }
    840840
    841         irc_send_msg_raw(irc->root, "NOTICE", irc->user->nick, "COMPLETIONS END", 0);
     841        irc_send_msg_raw(irc->root, "NOTICE", irc->user->nick, "COMPLETIONS END");
    842842}
    843843
Note: See TracChangeset for help on using the changeset viewer.