From: Deniz Dogan Date: Mon, 7 Mar 2011 12:03:22 +0000 (+0100) Subject: * lisp/net/rcirc.el (rcirc-connect): Fix PASS bug. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~651 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa7062f6539a628343802d7d7dbf86befe3c2626;p=emacs.git * lisp/net/rcirc.el (rcirc-connect): Fix PASS bug. --- 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