Commit graph

7 commits

Author SHA1 Message Date
Simon Ser 965ce9cdb9 xirc: fix chunking in GenerateSASL
The SASL response needs to be encoded into base64, then split into
400 byte chunks. We were doing it in reverse order.
2024-06-30 23:42:31 +02:00
Simon Ser 6b13ca5f34 Drop unnecessary prefixes for numerics
Previous commit populates the source prefix automatically for all
numerics. Drop the now-unnecessary explicit source prefix.
2024-04-30 14:38:20 +02:00
Simon Ser 01b28fa85d Use * instead of nick in some numeric replies
This argument is supposed to be the destination client, but is
useless. Simplify our functions by sending * instead.
2023-08-23 19:50:37 +02:00
Simon Ser 106d40dcd4 Upgrade to gopkg.in/irc.v4 2022-11-14 12:06:58 +01:00
Simon Ser da8f626e51 xirc: add GenerateSASL 2022-05-30 09:41:47 +02:00
Simon Ser fa6f52ed08 xirc: encode tokens in GenerateIsupport 2022-05-29 18:24:10 +02:00
Simon Ser c10d382a7d xirfc: move over message generation functions 2022-05-29 17:57:21 +02:00