From 348dd564a15ae8dd5aee6a60805a44bd95e73f5b Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 26 Feb 2020 03:20:59 -0500 Subject: Support setname --- bounce.h | 1 + client.c | 5 +++++ pounce.1 | 1 + 3 files changed, 7 insertions(+) diff --git a/bounce.h b/bounce.h index e87d7bb..a4b1a91 100644 --- a/bounce.h +++ b/bounce.h @@ -78,6 +78,7 @@ static inline struct Message parse(char *line) { X("multi-prefix", CapMultiPrefix) \ X("sasl", CapSASL) \ X("server-time", CapServerTime) \ + X("setname", CapSetname) \ X("userhost-in-names", CapUserhostInNames) \ X("", CapUnsupported) diff --git a/client.c b/client.c index 61cd7d0..c472f51 100644 --- a/client.c +++ b/client.c @@ -464,6 +464,10 @@ static const char *filterMultiPrefix(const char *line) { } } +static const char *filterSetname(const char *line) { + return (wordcmp(line, 0, "SETNAME") ? line : NULL); +} + static const char *filterUserhostInNames(const char *line) { if (wordcmp(line, 0, "353")) return line; static regex_t regex; @@ -490,6 +494,7 @@ static Filter *Filters[] = { [CapLabeledResponseBit] = filterLabeledResponse, [CapMessageTagsBit] = filterMessageTags, [CapMultiPrefixBit] = filterMultiPrefix, + [CapSetnameBit] = filterSetname, [CapUserhostInNamesBit] = filterUserhostInNames, }; diff --git a/pounce.1 b/pounce.1 index 470324d..58a0532 100644 --- a/pounce.1 +++ b/pounce.1 @@ -348,6 +348,7 @@ is supported: .Sy message-tags , .Sy multi-prefix , .Sy server-time , +.Sy setname , .Sy userhost-in-names . . .Pp -- cgit 1.4.1 1513da8&follow=1'>diff
path: root/doc/zlib/inflateGetDictionary.3 (unfollow)
Commit message (Collapse)Author
2022-05-16Add back grc aliasJune McEnroe
I used to have this ages ago. Don't know why I got rid of it.
2022-05-10Update "Care" with certificate timelineJune McEnroe
2022-05-08Add CirceJune McEnroe
Look, it's okay. But I should have been done with classics fan fiction last time I said so.
2022-04-20Revert "Make (pun) the dependencies make (pun) more sense"June McEnroe
This reverts commit 22665bf41ed91131dc6146806b1f0226f2ece4d8. Ok the reason you DON'T do that is because then every post older than colb gets regenerated.
2022-04-20Set txt mtimes to source mtimesJune McEnroe
2022-04-20Make (pun) the dependencies make (pun) more senseJune McEnroe
2022-04-17Add HenchJune McEnroe
There are some truly horrifying and gruesome bits though.
2022-04-14Publish "Agency"June McEnroe
2022-04-13Swap dates so the difference is always positiveJune McEnroe
2022-04-04Update "Care"June McEnroe
2022-04-03Publish "Care"June McEnroe
2022-03-31Publish "Compassion"June McEnroe
2022-03-24Skip matches with ident chars on either sideJune McEnroe
This fixes, for example, where the link gets placed on static regex_t regex(const char *pattern, int flags) in title.c.
2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe
So good, but so long. Reminded me of The Ten Thousand Doors of January at the beginning, and more of that N. K. Jemisin series about gods later. I like this interacting with gods and becoming something like one sort of thing. God, it took me a whole month (more?) to read and this is only my third book of the year :( I need some more novellas to read, but the other books I have from the library currently are also thick.
2022-03-22Source ~/.profile.local if it existsJune McEnroe
2022-03-18Publish "Addendum 2021"June McEnroe
2022-03-16Remove wcwidth portJune McEnroe
DYLD_FORCE_FLAT_NAMESPACE no longer exists in macOS 12 so this approach doesn't work anymore. Moved to <https://git.causal.agency/jorts/tree/wcwidth> and compiled into <https://git.causal.agency/jorts/tree/ncurses>.
2022-03-16Remove -j4 from ./PlanJune McEnroe
Plan learned to set this automatically!
2022-03-15Rewrite Linux install.sh for DebianJune McEnroe
2022-03-15Remove dashJune McEnroe