From df80e19bf51167e402bc662b788d09bebb7bd23a Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 8 Jul 2020 16:20:22 -0400 Subject: refactor(gs/emacs): Use IRCCloud bouncer Not using znc.gws.fyi anymore Change-Id: I6461096c949d68fdb0a061359e7273ccae9f5fef Reviewed-on: https://cl.tvl.fyi/c/depot/+/955 Reviewed-by: glittershark --- users/glittershark/emacs.d/irc.el | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'users') diff --git a/users/glittershark/emacs.d/irc.el b/users/glittershark/emacs.d/irc.el index 1d56d787c422..8ff48e994efb 100644 --- a/users/glittershark/emacs.d/irc.el +++ b/users/glittershark/emacs.d/irc.el @@ -5,16 +5,15 @@ (defun irc-connect () (interactive) - (let ((pw (let* ((irc-pw (first - (auth-source-search :host "znc.gws.fyi" - :max 1))) - (secret (plist-get irc-pw :secret))) - (if (functionp secret) (funcall secret)))) + (let ((pw (s-trim (shell-command-to-string "pass irccloud/freenode"))) (gnutls-verify-error nil)) - (erc-tls :server "znc.gws.fyi" - :port 5000 - :nick "glittershark" - :password (concat "glittershark/freenode:" pw)))) + (erc-tls :server "bnc.irccloud.com" + :port 6697 + :nick "grfn" + :password (concat "bnc@" + (s-trim (shell-command-to-string "hostname")) + ":" + pw)))) (defgroup erc-alert nil @@ -30,7 +29,6 @@ (setq tvl-enabled? t) (defun erc-alert-important-p (info) - (setq last-info info) (let ((message (plist-get info :message)) (erc-message (-> info (plist-get :data) (plist-get :message))) (erc-channel (-> info (plist-get :data) (plist-get :channel)))) -- cgit 1.4.1