From 858734384bed5469e59d3aa4f87a0036e9aa3a3f Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Wed, 8 Jan 2025 06:01:40 +0100 Subject: xC: regard more characters as highlight delimiters Almost 10 years of a poor decision. --- xC.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xC.c b/xC.c index 21dd846..aef693e 100644 --- a/xC.c +++ b/xC.c @@ -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; -- cgit v1.2.3-70-g09d2