Function: erc-ezb-get-login
erc-ezb-get-login is an autoloaded and byte-compiled function defined
in erc-ezbounce.el.gz.
Signature
(erc-ezb-get-login SERVER PORT)
Documentation
Return an appropriate EZBounce login for SERVER and PORT.
Look up entries in erc-ezb-login-alist. If the username or password
in the alist is nil, prompt for the appropriate values.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-ezbounce.el.gz
;;;###autoload
(defun erc-ezb-get-login (server port)
"Return an appropriate EZBounce login for SERVER and PORT.
Look up entries in `erc-ezb-login-alist'. If the username or password
in the alist is nil, prompt for the appropriate values."
(let ((login (cdr (assoc (cons server port) erc-ezb-login-alist))))
(when login
(let ((username (car login))
(password (cdr login)))
(when (null username)
(setq username (read-from-minibuffer (format "EZBounce user name for %s:%s: " server port))))
(when (null password)
(setq password (read-passwd (format "EZBounce password for %s:%s: " server port))))
(cons username password)))))