From: Amin Bandali Date: Mon, 19 Apr 2021 02:22:39 +0000 (-0400) Subject: * .emacs.d/lisp/bandali-erc.el: Look up certs from authinfo file X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/42afc39eeb7616d04cb0ef448f43ceeaf5fdbdd8 * .emacs.d/lisp/bandali-erc.el: Look up certs from authinfo file --- diff --git a/.emacs.d/lisp/bandali-erc.el b/.emacs.d/lisp/bandali-erc.el index 3527a65..803ba91 100644 --- a/.emacs.d/lisp/bandali-erc.el +++ b/.emacs.d/lisp/bandali-erc.el @@ -151,22 +151,19 @@ (lambda () (interactive) (erc-tls :server "chat.freenode.net" :port 6697 - :client-key (b/var "erc/certs/bandali-freenode.key") - :client-crt (b/var "erc/certs/bandali-freenode.crt")))) + :client-certificate t))) (global-set-key (kbd "C-c a e o") (lambda () (interactive) (erc-tls :server "irc.oftc.net" :port 6697 - :client-key (b/var "erc/certs/bandali-oftc.key") - :client-crt (b/var "erc/certs/bandali-oftc.crt")))) + :client-certificate t))) (global-set-key (kbd "C-c a e t") (lambda () (interactive) (erc-tls :server "na.tilde.chat" :port 6697 - :client-key (b/var "erc/certs/bandali-tildechat.key") - :client-crt (b/var "erc/certs/bandali-tildechat.crt")))) + :client-certificate t))) (provide 'bandali-erc) ;;; bandali-erc.el ends here