From: Manphiz Date: Fri, 15 Sep 2023 07:51:57 +0000 (+0200) Subject: ; Handle authentication properly when reconnecting to IRC X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a45d33d8aa80482d185a130059dd099e24d7aec1;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 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