diff options
author | Leon Vack <dev@lgcl.de> | 2021-01-11 15:51:14 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-11 15:51:14 +0100 |
commit | 42e72f4adee8809ed754a14e11e058f40b337f78 (patch) | |
tree | 2daca8aa3a56f8c9048029f7af367901245c28ea /lisp/emacs-lisp/cl-lib.el | |
parent | 6129ebf4499ba641c3964eac4a028d4aa370f090 (diff) | |
download | emacs-42e72f4adee8809ed754a14e11e058f40b337f78.tar.gz emacs-42e72f4adee8809ed754a14e11e058f40b337f78.tar.bz2 emacs-42e72f4adee8809ed754a14e11e058f40b337f78.zip |
Support using auth-source for NickServ passwords in ERC
* lisp/etc/erc-services.el (erc-nickserv-passwords): Document that
the passwords are only used when erc-prompt-for-nickserv-password
is nil.
* (erc-use-auth-source-for-nickserv-password): New customizable
variable to enable checking auth-source for NickServ passwords.
* (etc-nickserv-get-password): New function to handle the lookup
of the NickServ password from both auth-source and the
erc-nickserv-passwords variable.
* (erc-nickserv-call-identify-function): Use new
erc-nickserv-get-password function to lookup NickServ passwords.
* (erc-nickserv-identify-autodetect, erc-nickserv-identify-on-connect,
erc-nickserv-identify-on-nick-change): Call
erc-nickserv-call-identify-function when
erc-use-auth-source-for-nickserv-password is set.
* etc/NEWS: Document change (bug#45340).
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
0 files changed, 0 insertions, 0 deletions