From ead491d230721e6c12c849878cdcd2890cb0454b 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 1ddffe8dec9..b293a4a442f 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