about summary refs log tree commit diff
path: root/handle.c (follow)
Commit message (Collapse)AuthorAge
* Use gnu-case-range and gnu-conditional-omitted-operand extensionsJune McEnroe2020-04-03
| | | | | I'm sad to do this but I just can't stand writing (foo ? foo : bar) anymore.
* Add /ignore message filtering patternsJune McEnroe2020-03-31
|
* Replace some declaration; while loops with for loopsJune McEnroe2020-03-30
| | | | | I should have been using this for getopt loops already but the call here is slightly too long to fit on one line as a for loop.
* Rewrite mode formatting again and write to logJune McEnroe2020-03-28
| | | | Going back to one line per mode change again because it's easier.
* Log chat eventsJune McEnroe2020-03-25
| | | | | Still missing is logging MODE changes, which will be hell, unless it just logs the raw stuff.
* Track MODE in repliesJune McEnroe2020-03-23
|
* Assume worst case for unknown user and host in splitMessageJune McEnroe2020-03-23
| | | | | | The default USERLEN of 9 doesn't have a great source, the RFC only says that nicks are length 9, so my assumption is that usernames are not longer.
* Track own host, handle CHGHOSTJune McEnroe2020-03-22
|
* Handle RPL_CHANNELMODEISJune McEnroe2020-03-22
|
* Handle user mode changesJune McEnroe2020-03-22
|
* Rewrite handleModeJune McEnroe2020-03-22
|
* Handle RPL_UMODEISJune McEnroe2020-03-18
|
* Ignore 422 ERR_NOMOTDJune McEnroe2020-03-09
| | | | | pounce will start sending these because some silly clients don't think they're connected until some MOTD reply...
* Set self.pos before handling the messageJune McEnroe2020-03-08
| | | | | | | | This intuitively feels wrong, but isn't. Most importantly, handleError immediately exits, but we still need to "consume" that message, otherwise pounce will keep sending it on reconnect. The same goes for any other handler that might cause an exit, such as a require parameter count failure.
* Implement the causal.agency/consumer capabilityJune McEnroe2020-02-29
|
* Add raw modes to mode messageJune McEnroe2020-02-25
|
* Handle changing setParamModes, paramModes and other channel modesJune McEnroe2020-02-25
|
* Fix handling EXCEPTS and INVEX without valuesJune McEnroe2020-02-25
|
* Add /mode, /except, /invex and handle lists repliesJune McEnroe2020-02-25
|
* Accumulate mode changes into a buffer for one messageJune McEnroe2020-02-23
|
* Handle ERR_CHANOPRIVSNEEDEDJune McEnroe2020-02-20
|
* Handle MODE changing channel list modesJune McEnroe2020-02-20
|
* Handle MODE setting channel prefix modesJune McEnroe2020-02-20
|
* Change ban list formattingJune McEnroe2020-02-20
|
* Rearrange some handlersJune McEnroe2020-02-20
|
* Handle RPL_INVITING when no invite-notifyJune McEnroe2020-02-20
|
* Handle ERR_BANLISTFULLJune McEnroe2020-02-20
|
* Add handlers for user-in-channel errorsJune McEnroe2020-02-20
|
* Add generic error reply handlerJune McEnroe2020-02-20
| | | | This should have been in way earlier...
* Add /ban, /unban and handle ban list repliesJune McEnroe2020-02-19
|
* Format WHOIS signon date with %F %TJune McEnroe2020-02-19
|
* Replace a lot of snprintf with a catf implementationJune McEnroe2020-02-16
|
* Add 379 to WHOIS responsesJune McEnroe2020-02-16
|
* Track EXCEPTS and INVEX modesJune McEnroe2020-02-16
|
* Apply colorMentions to actionsJune McEnroe2020-02-16
| | | | The first-two-words branch works well for "/me verbs nick".
* Replace small integers in size_t with uintJune McEnroe2020-02-15
|
* Still add nick without prefixes to completeJune McEnroe2020-02-15
|
* Track PREFIX modes and CHANMODESJune McEnroe2020-02-15
|
* Show prefixes in NAMES and WHOIS repliesJune McEnroe2020-02-15
|
* Separate network info from selfJune McEnroe2020-02-15
|
* Add /inviteJune McEnroe2020-02-14
|
* Add /awayJune McEnroe2020-02-14
|
* Only exit on errorneous nick during registrationJune McEnroe2020-02-12
|
* Add 378 to list of WHOIS responsesJune McEnroe2020-02-12
| | | | | It's the one (from freenode anyway) that tells you where you're connecting from.
* Add /listJune McEnroe2020-02-12
|
* Handle RPL_AWAYJune McEnroe2020-02-12
|
* Rename query ID on nick changeJune McEnroe2020-02-11
|
* Don't insert color codes for non-mentionsJune McEnroe2020-02-11
|
* Take first two words in colorMentionsJune McEnroe2020-02-11
| | | | | This lets phrases like "hi june" get colored, but still doesn't get carried away.
* Set self.nick to * initiallyJune McEnroe2020-02-11
| | | | | | | Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions.