diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2025-01-08 06:01:40 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2025-01-08 06:40:53 +0100 |
commit | 858734384bed5469e59d3aa4f87a0036e9aa3a3f (patch) | |
tree | 8404bbea5846a76ea91c7ef844ec0046ded955b7 /xC.c | |
parent | 278a7f95a9f50489f371b7137eff8a342b494fdf (diff) | |
download | xK-858734384bed5469e59d3aa4f87a0036e9aa3a3f.tar.gz xK-858734384bed5469e59d3aa4f87a0036e9aa3a3f.tar.xz xK-858734384bed5469e59d3aa4f87a0036e9aa3a3f.zip |
xC: regard more characters as highlight delimitersorigin/master
Almost 10 years of a poor decision.
Diffstat (limited to 'xC.c')
-rw-r--r-- | xC.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -7034,9 +7034,7 @@ irc_is_highlight (struct server *s, const char *message) cstr_transform (nick, s->irc_tolower); // Special characters allowed in nicknames by RFC 2812: []\`_^{|} and - - // Also excluded from the ASCII: common user channel prefixes: +%@&~ - // XXX: why did I exclude those? It won't match when IRC newbies use them. - const char *delimiters = ",.;:!?()<>/=#$* \t\r\n\v\f\"'"; + const char *delimiters = "\t\n\v\f\r !\"#$%&'()*+,./:;<=>?@~"; bool result = false; char *save = NULL; |