aboutsummaryrefslogtreecommitdiffstats
path: root/irc_cap.c
Commit message (Collapse)AuthorAgeLines
* Add server-time capabilityMarius Halden2016-05-07-0/+1
|
* Ignore CAP END when received multiple timesMarius Halden2016-04-06-0/+3
| | | | | This fixes a segfault when CAP END was received after the capabilty negotiation was already over.
* IRCv3 userhost-in-names capabilitydequis2015-12-05-0/+1
| | | | Easiest part of ircv3.2
* IRCv3 cap-3.2/sasl-3.2 capabilities (just send sasl mechanism list)dequis2015-11-20-3/+7
| | | | | | Nothing else needed, i think. No need for multiline replies, cap-notify, sasl reauthentication just works, and the authentication layer is always available.
* IRCv3 away-notify capabilitydequis2015-11-20-0/+1
| | | | | | | | | | | Neat lightweight notifications of the awayness of contacts. In practice, this means weechat/hexchat users can see away people in their nick list and change show_users to 'online,special,away' to avoid the mode spam completely. These are also sent on online/offline changes, since offline_user_quits can be turned off, and you'd need something when they come back.
* IRCv3 extended-join capabilitydequis2015-11-08-0/+1
| | | | | | Not very useful for the account features (and i won't implement account-notify), but it has a real name field, and it's *really* easy to implement.
* IRCv3 SASL capability + PLAIN methoddequis2015-10-08-0/+7
| | | | | | | | | | | | | | | | | | | | | Only plain, no other methods. We don't have built-in SSL to implement EXTERNAL (certfp) and nothing else is worth implementing. The actual authentication is pretty much like sending a server password (when the server's authmode isn't closed), which means it happens in cmd_identify, but this code also calls storage_check_pass() to send the required success/failure replies. SASL doesn't give us much benefit other than standards compliance, but some clients might appreciate it. And having a fifth way to do the same thing doesn't hurt! Now we have: - identify in &bitlbee - identify to nickserv (alias for root) - 'nickserv' and 'ns' irc commands - server password - sasl plain
* IRCv3 multi-prefix... but mostly just adding prefixes to WHOdequis2015-10-08-2/+1
| | | | | | | | | We can't actually have multiple prefixes internally, so the only thing missing for multi-prefix compliance is actually having the prefix in the WHO reply, which is a rfc1459 thing. Note to future self: check irc logs for the implementation I threw away. The one that actually handled multiple prefixes. I hope that's useful.
* Move CAP commands to irc_cap.c; use enum for flagsdequis2015-09-30-0/+180