about summary refs log tree commit diff
path: root/xdg.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-08-26 12:59:57 -0400
committerJune McEnroe <june@causal.agency>2021-08-26 12:59:57 -0400
commitbe9bffdf497594aa321b620093cef1f180764576 (patch)
tree034c4e50530c7ffafc76767ba39401eca13efff8 /xdg.c
parentRemove trailing tab (diff)
downloadcatgirl-be9bffdf497594aa321b620093cef1f180764576.tar.gz
catgirl-be9bffdf497594aa321b620093cef1f180764576.zip
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 '')
0 files changed, 0 insertions, 0 deletions
href='/test/commit/ui.c?id=2faa73abd63d3373ba12e59427d948720188bfbf&follow=1'>Remove topic TODOJune McEnroe 2019-02-22Add /znc commandJune McEnroe 2019-02-22Update status line after scrolling and term eventsJune McEnroe 2019-02-22Reorganize input.cJune McEnroe 2019-02-22Fix name of <raw> window in man pageJune McEnroe 2019-02-22Rename global tags with angle bracketsJune McEnroe 2019-02-22Show status window while connectingJune McEnroe 2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe 2019-02-21Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe