aboutsummaryrefslogtreecommitdiff
path: root/xC.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2025-01-08 06:01:40 +0100
committerPřemysl Eric Janouch <p@janouch.name>2025-01-08 06:40:53 +0100
commit858734384bed5469e59d3aa4f87a0036e9aa3a3f (patch)
tree8404bbea5846a76ea91c7ef844ec0046ded955b7 /xC.c
parent278a7f95a9f50489f371b7137eff8a342b494fdf (diff)
downloadxK-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.c4
1 files changed, 1 insertions, 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;