From a45d33d8aa80482d185a130059dd099e24d7aec1 Mon Sep 17 00:00:00 2001 From: Manphiz Date: Fri, 15 Sep 2023 09:51:57 +0200 Subject: [PATCH] ; Handle authentication properly when reconnecting to IRC * lisp/net/rcirc.el (rcirc-reconnect): Set 'rcirc-user-authenticated' to nil before reconnecting. (Bug#65882) --- lisp/net/rcirc.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index a6dad4b640d..3f6242d9347 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -859,6 +859,7 @@ If QUIET is non-nil, no not emit a message." (if (rcirc--connection-open-p process) (throw 'exit (or quiet (message "Server process is alive"))) (delete-process process)) + (setq rcirc-user-authenticated nil) (let ((conn-info rcirc-connection-info)) (setf (nth 5 conn-info) (cl-remove-if-not #'rcirc-channel-p -- 2.39.2