Function: erc--compute-server-password
erc--compute-server-password is a byte-compiled function defined in
erc.el.gz.
Signature
(erc--compute-server-password PASSWORD NICK)
Documentation
Maybe provide a PASSWORD argument for the IRC "PASS" command.
When erc-auth-source-server-function is non-nil, call it with NICK for
the user field and use whatever it returns as the server password.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--compute-server-password (password nick)
"Maybe provide a PASSWORD argument for the IRC \"PASS\" command.
When `erc-auth-source-server-function' is non-nil, call it with NICK for
the user field and use whatever it returns as the server password."
(or password (and erc-auth-source-server-function
(not erc--server-reconnecting)
(not erc--target)
(funcall erc-auth-source-server-function :user nick))))