Subject: bug#48529: 27.1; add libera chat to ERC

From: Andreas Schwab <[email-masked]>
Date: Tue, 25 May 2021 00:03:31 +0200

On Mai 19 2021, Corwin Brust wrote:

> diff --git a/lisp/erc/erc-services.el b/lisp/erc/erc-services.el
> index 09d1f7a330..62c9fbdd51 100644
> --- a/lisp/erc/erc-services.el
> +++ b/lisp/erc/erc-services.el
> @@ -32,8 +32,8 @@
>  
>  ;; As a default, ERC has the data for the official nickname services on
>  ;; the networks Austnet, BrasNET, Dalnet, freenode, GalaxyNet, GRnet,
> -;; and Slashnet.  You can add more by using M-x customize-variable RET
> -;; erc-nickserv-alist.
> +;; Libera.Chat and Slashnet.  You can add more by using
> +;;   M-x customize-variable RET erc-nickserv-alist.
>  
>  ;; Usage:
>  ;;
> @@ -197,6 +197,7 @@ Example of use:
>  			(const GalaxyNet)
>  			(const GRnet)
>  			(const iip)
> +                        (const Libera)
>  			(const OFTC)
>  			(const QuakeNet)
>  			(const Rizon)
> @@ -264,6 +265,15 @@ Example of use:
>       "type\\s-/squery\\s-Trent\\s-identify\\s-<password>"
>       "[email-masked]"
>       "IDENTIFY" nil "SQUERY" nil)
> +    (Libera
> +     "NickServ!NickServ@services."
> +     ;; Libera.Chat also accepts a password at login, see the `erc'
> +     ;; :password argument.
> +     "This\\s-nickname\\s-is\\s-registered.\\s-Please\\s-choose"
> +     "NickServ"
> +     "IDENTIFY" nil nil
> +     ;; See also the 901 response code message.
> +     "You\\s-are\\s-now\\s-identified\\s-for\\s-")
>      (OFTC
>       "[email-masked]"
>       ;; OFTC's NickServ doesn't ask you to identify anymore.

irc.libera.chat identifies itself as Libera.Chat.  Shouldn't that be
used instead of Libera?

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."