]> git.eshelyaron.com Git - emacs.git/commit
Support using auth-source for NickServ passwords in ERC
authorLeon Vack <dev@lgcl.de>
Mon, 11 Jan 2021 14:51:14 +0000 (15:51 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jan 2021 14:51:14 +0000 (15:51 +0100)
commit42e72f4adee8809ed754a14e11e058f40b337f78
tree2daca8aa3a56f8c9048029f7af367901245c28ea
parent6129ebf4499ba641c3964eac4a028d4aa370f090
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).
etc/NEWS
lisp/erc/erc-services.el
lisp/window.el