Changeset 0ef1c92 for irc_send.c


Ignore:
Timestamp:
2015-09-11T02:31:10Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
dc96e6e
Parents:
34d16d5
git-author:
dequis <dx@…> (27-07-15 05:14:09)
git-committer:
dequis <dx@…> (11-09-15 02:31:10)
Message:

Initial implementation of ircv3 capability negotiation

Mostly no-op for now. Puts registration on hold, supports the basic
commands, and NAKs everything

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_send.c

    r34d16d5 r0ef1c92  
    428428                  iu->nick, iu->user, iu->host, irc->user->nick, ic->name);
    429429}
     430
     431void irc_send_cap(irc_t *irc, char *subcommand, char *body)
     432{
     433        char *nick = irc->user->nick ? : "*";
     434
     435        irc_write(irc, ":%s CAP %s %s :%s", irc->root->host, nick, subcommand, body);
     436}
Note: See TracChangeset for help on using the changeset viewer.