Changeset f7cc734 for irc_commands.c


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

    rc82e4ca rf7cc734  
    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);
     526                irc_send_msg(irc->user, "NOTICE", irc->user->nick, cmd[2], NULL, 0);
    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");
     827        irc_send_msg_raw(irc->root, "NOTICE", irc->user->nick, "COMPLETIONS OK", 0);
    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");
     841        irc_send_msg_raw(irc->root, "NOTICE", irc->user->nick, "COMPLETIONS END", 0);
    842842}
    843843
Note: See TracChangeset for help on using the changeset viewer.