Make custom ERC connect functions interactive

Rename my/erc-connect -> my/znc-connect
This commit is contained in:
Evie Litherland-Smith 2024-05-22 08:00:33 +01:00
parent f28cefcd2d
commit 432b82ca57

View file

@ -1341,14 +1341,16 @@ Calls `project-remember-project-under' for ~/Projects/"
(defun my/libera-chat-connect ()
"Connect to irc.libera.chat directly."
(interactive)
(require 'erc)
(require 'password-store)
(erc-tls
:server "irc.libera.chat"
:password (password-store-get 'irc.libera.chat)))
(defun my/erc-connect ()
(defun my/znc-connect ()
"Connect to my ZNC IRC bouncer."
(interactive)
(require 'erc)
(require 'password-store)
(erc-tls