summary refs log tree commit diff
path: root/log.c
diff options
context:
space:
mode:
authorC. McEnroe2021-08-26 12:59:57 -0400
committerC. McEnroe2021-08-26 12:59:57 -0400
commitbe9bffdf497594aa321b620093cef1f180764576 (patch)
tree034c4e50530c7ffafc76767ba39401eca13efff8 /log.c
parent1f800bcf69a1238520afd16223d491da6d3f17d8 (diff)
Match id names case-insensitively
This fixes the case where an IRCd does not normalize channel names,
e.g. PRIVMSG #TEST is relayed as-is, rather than as #test or whatever
the canonical casing of the channel name is. It also fixes the case
of opening a query window with incorrect case, e.g. /query nickserv.

However, this solution is only completely correct when
CASEMAPPING=ascii.[1] I do not think the extra mappings of
CASEMAPPING=rfc1459 are relevant enough to justify adding the code
to handle it.

[1]: https://modern.ircdocs.horse/#casemapping-parameter
Diffstat (limited to 'log.c')
0 files changed, 0 insertions, 0 deletions