From: Manphiz Date: Fri, 15 Sep 2023 07:51:57 +0000 (+0200) Subject: ; Handle authentication properly when reconnecting to IRC X-Git-Tag: emacs-29.1.90~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ead491d230721e6c12c849878cdcd2890cb0454b;p=emacs.git ; Handle authentication properly when reconnecting to IRC * lisp/net/rcirc.el (rcirc-reconnect): Set 'rcirc-user-authenticated' to nil before reconnecting. (Bug#65882) --- 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