ergochat / ergo

A modern IRC server (daemon/ircd) written in Go.
https://ergo.chat/
MIT License
2.27k stars 180 forks source link

Channel Listing does not send Starting Numeric #1335

Open Amiga60077 opened 3 years ago

Amiga60077 commented 3 years ago

On UnrealIRCd for example, if you do /LIST it will start with 321 Channel :Users Name << this is missing from Oragono 322 <#channel> 2 :[+ntr] Welcome 323 End of /LIST

By not sending Numeric 321 it can confuse some IRC Clients, and the result is if you refresh the channel listing, it just adds to the list, rather than clearing it out and then listing again

slingamn commented 3 years ago

Thanks! We're probably going to change this. Which clients are affected?

Amiga60077 commented 3 years ago

It only breaks one client I use regular and it was created as part of a launcher that ZDaemon uses, called ZDaemon Relay Chat, I guess it is coded so that it needs all 3 numerics (maybe on 321 it wipes the channel list, and because that is not sent, the listing is not wiped, and therefore doubles up each time) - I have attached ZRC image showing the issue ZRC

here if you want to test it yourself

slingamn commented 3 years ago

Since only one client is affected, and it's fairly obscure, I'd prefer not to fix this (unless you have strong feelings).

slingamn commented 3 years ago

(The context being that RFC2812 describes RPL_LISTSTART as "Obsolete. Not used.", and modern.ircdocs.horse describes it as optional.)