From fa7062f6539a628343802d7d7dbf86befe3c2626 Mon Sep 17 00:00:00 2001 From: Deniz Dogan Date: Mon, 7 Mar 2011 13:03:22 +0100 Subject: [PATCH] * lisp/net/rcirc.el (rcirc-connect): Fix PASS bug. --- lisp/ChangeLog | 4 ++++ lisp/net/rcirc.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4ff65b16c6d..d23bb9e650e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-03-07 Deniz Dogan + + * net/rcirc.el (rcirc-connect): Fix PASS bug. + 2011-03-07 Glenn Morris * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt. diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 1e3ee91092d..41e09540631 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -548,7 +548,7 @@ If ARG is non-nil, instead prompt for connection parameters." (add-hook 'auto-save-hook 'rcirc-log-write) ;; identify - (when password + (unless (zerop (length password)) (rcirc-send-string process (concat "PASS " password))) (rcirc-send-string process (concat "NICK " nick)) (rcirc-send-string process (concat "USER " user-name -- 2.39.5