summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-cap.c
AgeCommit message (Collapse)Author
2018-04-08Add "server cap req" signal, emitted before requesting capsdequis
2018-02-08restore compat with glib <2.40ailin-nemui
2018-01-24Accept CAPs with an empty value (KEY=)LemonBoy
2018-01-24Address some minor stylish nitsLemonBoy
2018-01-07Fix a problem with multiline responsesLemonBoy
Do not clear the whole table every time a response is received.
2018-01-07Nicer error message when a duplicate CAP in LSLemonBoy
2018-01-07Match LS instead of checking the first letter onlyLemonBoy
2018-01-07Command names may be in lower-caseLemonBoy
Do not take the string case into account when comparing the command name.
2018-01-07Simplify the codeLemonBoy
Early exit, simpler code.
2018-01-07Keep processing the CAPs on errorLemonBoy
If an invalid CAP is found we keep going by parsing the next one.
2018-01-07Prevent a memory leakLemonBoy
When a CAP DEL is received the key/val pair is not stored in the hashtable at all so just free them when we're done.
2018-01-07Miscellaneous fixesLemonBoy
Stylistic stuff, please ignore.
2018-01-07Prevent a NULL pointer deferenceLemonBoy
Always create the cap_supported table when a CAP event is received.
2018-01-07Use strcmp instead of g_strcmp0LemonBoy
There's no need to use the latter.
2018-01-07Properly dispose the GSList chainsLemonBoy
We forgot to free the link and the data, oops.
2018-01-07Handle CAP {ADD,DEL} from cap-notifyLemonBoy
This is the last piece of the puzzle.
2018-01-07Parse multiline responses to CAP LSLemonBoy
The parsing logic isn't too elegant because of the optional parameter used for signaling if a response has a continuation one.
2018-01-07Factor out the parsing functionLemonBoy
This is also needed for CAP NEW and CAP DEL.
2018-01-07Parse the K/V form in CAP LSLemonBoy
This is a prerequisite for the IRC v3.2 compliance.
2015-11-26irc-cap: Don't send a space at the beginning of the CAP REQ parameterdequis
Turns out it confuses inspircd, making it reply a NAK with empty parameter. The rest is ACKed anyway. I've already whined at saberuk and there's a pending pull request over there fixing this issue. And, of course, this is cleaner.
2015-09-02Fix two minor issues outlined in the PR#222LemonBoy
irc-cap.c has now a licence header. A minor style fix in misc.c
2015-05-05Implement support for IRCv3.1 CAP negotiationLemonBoy