Hello everyone! I’m trying to set up ERC to automatically identify me with NickServ via authinfo (and pass), but this doesn’t work at all. I know I’ve got my authinfo and pass set up correctly because it does work for my mu4e setup. Currently the function I’m using to connect to libera.chat is as follows:
(defun erc-libera ()
(interactive)
(erc-tls
:nick "kovariszt"
:server "irc.libera.chat"
:port 6697
))
The relevant parts of my ERC config are as follows:
(use-package erc
:config
(add-to-list 'erc-modules 'services))
(use-package erc-services
:after (erc)
:demand t
:custom
(erc-use-auth-source-for-nickserv-password t)
(erc-prompt-for-nickserv-password nil)
(erc-prompt-for-password nil)
:config
(erc-services-mode 1))
I’ve seen another thread here where this issue was solved by leaving out the port in the connection function. I’ve tried this as well, but it didn’t solve my issue. My password is stored in a file named libera.chat, with a line of it being username: kovariszt
. Whenever I try to connect I get the following output in my *Messages* buffer:
Connecting to irc.libera.chat:6697...
Logging in as `kovariszt'...
Logging in without password
Logging in as ‘kovariszt’... done
Cannot find a password for nickname kovariszt
Thanks in advance for your help!