summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-11-06 06:10:15 +0200
committerThanos Apollo <[email protected]>2024-11-06 06:10:15 +0200
commitd4c058904177247488dcb86ce43353f11cdc10ee (patch)
tree3a445f724b212fbb916aa645ecbe28223906c1b5 /.config
parent75d20fac395c568e74876094a0233041900e90b2 (diff)
emacs: erc: Refactor for znc server
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index e1038e1..52cbd0a 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -875,18 +875,18 @@ By default, returns all jabber related buffers format."
(unless (expand-file-name "erc" user-emacs-directory)
(make-directory (expand-file-name "erc" user-emacs-directory)))
(setf erc-modules
- '(sasl netsplit fill button match track completion readonly
- networks ring autojoin noncommands irccontrols move-to-prompt stamp
- menu list log notifications)
+ '(netsplit fill button match track completion readonly
+ networks ring autojoin noncommands irccontrols move-to-prompt stamp
+ menu list log notifications)
erc-log-channels-directory (expand-file-name "erc" user-emacs-directory))
(defun thanos/erc-login ()
"Login to libera.chat"
(interactive)
- (erc-tls :server "irc.libera.chat" :port 6697
- :nick "thanosapollo"
- :user "thanosapollo"
- :password (password-store-get "liberachat/thanos_apollo")))
+ (erc :server "uranus" :port 5555
+ :nick "thanosapollo"
+ :user "thanosapollo"
+ :password (password-store-get "znc/admin")))
:bind (("C-c E" . 'erc-libera)
:map erc-mode-map
("C-c RET" . 'erc-cmd-QUERY)))