~novenary

Recent activity

Re: [PATCH] xirc: Fix sending hostnames starting with ':' in WHO replies 2 years ago

From novenary to ~emersion/soju-dev

On Wed, Jan 25, 2023 at 1:05 AM Simon Ser <contact@emersion.fr> wrote:
> No, this would confuse clients which parse the IP and don't expect
> square brackets. See:
> https://modern.ircdocs.horse/#rplwhoisuser-311

I see, thanks for clarifying.

Re: [PATCH] xirc: Fix sending hostnames starting with ':' in WHO replies 2 years ago

From novenary to ~emersion/soju-dev

On Sun, Jan 22, 2023 at 12:32 AM delthas <delthas@dille.cc> wrote:
>
> Some IPv6 hostnames can start with a colon (eg '::1'). This breaks
> the IRC line format.
>
> To work around this issue, prefix the hostname with a '0'. This
> changes the representation of the IP but not its value.
>
> See: https://todo.sr.ht/~taiite/senpai/109
> ---
>  xirc/whox.go | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/xirc/whox.go b/xirc/whox.go