]> git.eshelyaron.com Git - emacs.git/commitdiff
Add Libera.chat to `erc-nickserv-alist'
authorCorwin Brust <corwin@bru.st>
Mon, 24 May 2021 21:36:01 +0000 (23:36 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 May 2021 21:36:01 +0000 (23:36 +0200)
* lisp/erc/erc-services.el (erc-nickserv-alist): Add support for
the Libera chat.

Copyright-paperwork-exempt: yes

lisp/erc/erc-services.el

index 09d1f7a33023d7fd488eb618b9d8f99041106e1b..62c9fbdd5121920daeabd5a267e47980ab019058 100644 (file)
@@ -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>"
      "Trent@anon.iip"
      "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
      "NickServ!services@services.oftc.net"
      ;; OFTC's NickServ doesn't ask you to identify anymore.