implement draft/extended-isupport (#2184)

This commit is contained in:
Shivaram Lingamneni 2024-09-27 06:40:56 +02:00 committed by GitHub
parent f68d32b4ee
commit 7586520032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 57 additions and 10 deletions

View file

@ -1320,6 +1320,15 @@ func isonHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respons
return false
}
// ISUPPORT
func isupportHandler(server *Server, client *Client, msg ircmsg.Message, rb *ResponseBuffer) bool {
server.RplISupport(client, rb)
if !client.registered {
rb.session.isupportSentPrereg = true
}
return false
}
// JOIN <channel>{,<channel>} [<key>{,<key>}]
func joinHandler(server *Server, client *Client, msg ircmsg.Message, rb *ResponseBuffer) bool {
// #1417: allow `JOIN 0` with a confirmation code