Changeset d63f37c
- Timestamp:
- 2015-11-08T08:16:15Z (9 years ago)
- Branches:
- master
- Children:
- d6e2aa8
- Parents:
- 37c9653
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.h
r37c9653 rd63f37c 70 70 CAP_SASL = (1 << 0), 71 71 CAP_MULTI_PREFIX = (1 << 1), 72 CAP_EXTENDED_JOIN = (1 << 2), 72 73 } irc_cap_flag_t; 73 74 -
irc_cap.c
r37c9653 rd63f37c 40 40 {"sasl", CAP_SASL}, 41 41 {"multi-prefix", CAP_MULTI_PREFIX}, 42 {"extended-join", CAP_EXTENDED_JOIN}, 42 43 {NULL}, 43 44 }; -
irc_send.c
r37c9653 rd63f37c 172 172 irc_t *irc = ic->irc; 173 173 174 irc_write(irc, ":%s!%s@%s JOIN :%s", iu->nick, iu->user, iu->host, ic->name); 174 if (irc->caps & CAP_EXTENDED_JOIN) { 175 irc_write(irc, ":%s!%s@%s JOIN %s * :%s", iu->nick, iu->user, iu->host, ic->name, iu->fullname); 176 } else { 177 irc_write(irc, ":%s!%s@%s JOIN :%s", iu->nick, iu->user, iu->host, ic->name); 178 } 175 179 176 180 if (iu == irc->user) {
Note: See TracChangeset
for help on using the changeset viewer.